django - Lighttpd - Cannot start, can't bind port, permission denied -


i have installed lighttpd in parallel apache (using port 80). starting lighttpd gives me error

starting lighttpd: 2013-04-05 15:56:17: (network.c.379) can't bind port:  81 permission denied  

changes made in lighttpd.conf:

server.port = 81 server.use-ipv6 = "disable" 

what missing here? using centos 6.3

netstat -ltp result:

active internet connections (only servers) proto recv-q send-q local address               foreign address             state       pid/program name    tcp        0      0 localhost:smux              *:*                         listen      1947/snmpd           tcp        0      0 *:mysql                     *:*                         listen      15673/mysqld         tcp        0      0 *:57071                     *:*                         listen      1683/rpc.statd       tcp        0      0 *:sunrpc                    *:*                         listen      1665/rpcbind         tcp        0      0 *:ndmp                      *:*                         listen      2473/perl            tcp        0      0 *:ssh                       *:*                         listen      1959/sshd            tcp        0      0 localhost:ipp               *:*                         listen      1829/cupsd           tcp        0      0 localhost:smtp              *:*                         listen      2362/master          tcp        0      0 *:sunrpc                    *:*                         listen      1665/rpcbind         tcp        0      0 *:http                      *:*                         listen      15422/httpd          tcp        0      0 *:45684                     *:*                         listen      1683/rpc.statd       tcp        0      0 *:ssh                       *:*                         listen      1959/sshd            tcp        0      0 localhost:ipp               *:*                         listen      1829/cupsd           tcp        0      0 localhost:smtp              *:*                         listen      2362/master          tcp        0      0 *:6556                      *:*                         listen      1967/xinetd          

i have found reference , solves problem. issue due selinux blocking lighttpd in using port 81.

[updated link] https://www.visibilityspots.com/selinux.html


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -