This site can't be reached

I just started a new project after a few months and whenever i run ionic serve command my browser starts on address localhost:8100 but I get this error of “This site can’t be reached” after a few seconds. I have tried everything from changing the port to some other address but was not successful in running the app. Please can anybody help me? I am working on Windows 7