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: localhost

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