Cannot listen to port 80 but 3000, 3080 without Apache

Arthur Chan lists at
Mon Jan 4 16:19:01 MSK 2010

Hi Guys,

I am using ubuntu and having nginx with thin (using sockets) and rails
successfully --- only on port 3000 and 3080.

When I try to change the nginx config and
listen 80;

it fails and the follows found in nginx/error.log

2010/01/04 21:08:25 [emerg] 21146#0: bind() to failed (13:
Permission denied)

And I've checked what binding on port 80 but failed:

arthur at ubuntuserver:~$ sudo netstat -plant | grep ':80'
[sudo] password for arthur:
tcp        0      0  *
LISTEN      21395/with_thin.con
tcp        0      0  *
LISTEN      2999/master
tcp6       0      0 :::8025                 :::*
LISTEN      2999/master
arthur at ubuntuserver:~$ lsof -i tcp:80
arthur at ubuntuserver:~$ lsof -i tcp:8080

Can you help me?

Thanks a bunch!
Posted via

More information about the nginx mailing list