Starting lighttpd network c 358 cant bind to port 80 Address already in use
Starting lighttpd network c 358 cant bind to port 80 Address already in use
Recently I had the error message appearing when trying to launch my PB on my Ubuntu machine:
Starting lighttpd: (network.c.358) cant bind to port: 80 Address already in use
Turns out there are quite a few old forum threads on this topic where the issue comes down to one of 2 things:
- Another webserver application is running (like apache)To solve this issue check what is running on port 80 by:
sudo fuser -v 80/tcp
And then kill or remove this application. - IPv6 is causing some issues in the lighttpd.conf file
Open lighttpd.conf file in any text editor and comment the line
include_shell "/usr/share/lighttpd/use-ipv6.pl"
with a #, so:
#include_shell "/usr/share/lighttpd/use-ipv6.pl"
Although in case of the PirateBox script package, this comes ready and set.
My personal issue was that somehow I had apache2 webserver installed on my system. I do not remember installing it, but now it has been removed and lighttpd is starting/running just fine. So if anyone is having a similar issue, you may want to check out these 2 possible issues.
download file now
Comments
Post a Comment