openmptcprouter icon indicating copy to clipboard operation
openmptcprouter copied to clipboard

Pi-Hole lighttpd fails binding on 10.255.252.1:80

Open DracoTomes opened this issue 3 years ago • 2 comments

Is your enhancement proposal related to a problem? Please describe.

After installing Pi-Hole on VPS following this wiki the web interface of the Pi-Hole is not reachable. This is because lighttpd fails to start. Using journalctl I got the following error: Jan 28 20:13:33 mptcpBTW lighttpd[19310]: 2022-01-28 20:13:32: (network.c.313) can't bind to socket: 10.255.252.1:80 Cannot assign requested address Removing $SERVER["socket"] == "10.255.252.1:80" { } from /etc/lighttpd/external.conf and lighttpd started correctly.

Describe the solution you'd like

Either removing $SERVER["socket"] == "10.255.252.1:80" { } from the downloadable script if it's no longer being used or implement a check whether that address is usable.

DracoTomes avatar Jan 28 '22 20:01 DracoTomes

so just put the littpd on a different port, like 8080 and you are good.

Adorfer avatar Jan 29 '22 10:01 Adorfer

10.255.252.1 is used by OpenVPN TCP, so if you didn't make any changes and use latest VPS release you should have it available and lighttpd should be able to bind to it.

Ysurac avatar Jan 31 '22 18:01 Ysurac