yesterday I was developing my personal website with Hugo just find but suddenly today the local development stopped working and I can’t view http://localhost:1313 anymore it displays an error on the browser as This site can’t be reached.
I hadn’t make any changes to my PC no update not software install nothing. I have tried to remove Hugo and installed again but no luck also new project have the same issue.
BTW I have installed Hugo with apt on ubuntu.
When you run hugo server, does it tell you the site is at localhost:1313 or another port? I heard recently that in some configurations on Windows the 1313 port gets blocked by another application. You obviously need to load the other port then in your browser. If it says 1313 in the output, then try (on the ubuntu subsystem, not windows) ping localhost:1313. If it responds, then the ports between your Windows and the Ubuntu subsystem are not “connected”. I have no Windows to test myself but this seems an issue with that Ubuntu-in-Windows system.