guysoft / OctoPi

Scripts to build OctoPi, a Raspberry PI distro for controlling 3D printers over the web
GNU General Public License v3.0
2.49k stars 369 forks source link

Cannot access Octoprint via hostname #767

Closed alphanumericaltycoon closed 2 years ago

alphanumericaltycoon commented 2 years ago

What were you doing?

Trying to access octoprint via hostname (in my case server1, server2, server3, server 4)

What did you expect to happen?

Usually, upon typing either server1, server2, server3 or server4 in my web-browser it goes the the octoprint login page. I don't usually need to type the .local part.

What happened instead?

This site can’t be reachedCheck if there is a typo in server1. If spelling is correct, [try running windows network Diagnostics] DNS_PROBE_FINISHED_NXDOMAIN

If I ping the IP address it returns packets. If I type in the ip address in the web-browser it's accessible and fine. And if I login via SSH through putty to the rasp pi it connects fine.

Did the same happen when running OctoPrint in safe mode?

Yes it did.

Version of OctoPi

Octoprint: Version 1.7.3 OctoPi Version 0.18.0, running on Raspberry Pi 4 Model B Rev 1.4

Printer model & used firmware incl. version

Prusa MK3S+ FIRMWARE 3.10.1

Screenshot(s)/video(s) showing the problem:

alphanumericaltycoon commented 2 years ago

I feel dumb. I realised my VPN was still running which seemed to cause the problem. As soon as I disabled it I was able to access the hostnames as usual!