Starting lighttpd: (network.c.358) can't 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/tcpAnd 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
with a #, so:
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.