Thursday 15 February 2018

linux - lighttpd cant bind port permission denied

I installed lighttpd, tried to run it service lighttpd start and got error like the one i post below. Please dont give me that crap about needing root (because I am root) or about ports higher than 1024.


So heres the error:



Starting lighttpd: 2011-09-25 21:51:14: (network.c.345) can't bind to port: 5555 Permission denied



and this is how i succedded to run it


 [root@torrenti ~]# lighttpd -f /etc/lighttpd/lighttpd.conf
[root@torrenti ~]# service lighttpd status lighttpd (pid 1990) is
running... [root@torrenti ~]# service lighttpd restart Stopping
lighttpd: [ OK ] Starting
lighttpd: 2011-09-25 22:05:49: (network.c.345) can't bind to port: 81
Permission denied

[FAILED]

but as you can see in the end of my SSH log, when I try to use



service lighttpd command



it says permission denied again. There is already nginx and bunch of stuff running on server, so it`s not servers problem.

No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...