Error: listen EADDRNOTAVAIL 192.168.1.75:8080

When trying to serve my project this morning I kept on getting an Error saying that I can listen to the port.

After, I noticed that my host file had suddenly went blank. Weird because I did not edit it but anyways… I solved it by simply adding the localhost back into the host file:

127.0.0.1 localhost

…. and save. Quite simple but not as trivial if this stops working all of sudden like it did with mine.

 

 

Advertisements