javascriptnode.jshttpnpmserver

Local http server has stopped running


I installed the NPM package and the http server in the "server" folder. Everything worked perfectly, but then suddenly the server stopped running.

When I try to start the local http server I see this error message in the terminal (console) enter image description here


Solution

  • You probably have anlther application running on port 8080. Try navigating to localhost:8080 to figure out what it is and close the application. It could even be another instance of node.