I’m running my server: hugo server --bind=0.0.0.0 --baseURL=http://0.0.0.0:1313 -D
I get no errors. I can see it fine on that computer at http://localhost:1313 but if I go to that computer’s IP (at 1313) on other devices on the network I get no connection.
I’m running hugo on nixos. I’m trying to access it on my android phone and windows computer.
Of course: localhost is equivalent to 127.0.0.1, it is bound to the interface lo. So if you use localhost in an URL, the browser will connect to 127.0.0.1. If, on the other side, you run a webserver on 162.168.1.x (which is bound to the interface en-something or wlan-something), you have to connect to this IP. If you’d want to use a symbolic name instead (like “my-lovely-hugo-host”), you’d have to either setup a DNS or add an appropriate entry to your /etc/hosts file.