Query: info js server already running
When you encounter the message “info js server already running” it means that there is already a JavaScript server running on your system. This message is commonly seen when using tools like webpack, gulp, or grunt to run a development server.
The “info js server already running” message typically indicates that the server is already running in the background and is serving your JavaScript files to a specified port, making it unnecessary to start another instance of the server.
Here’s an example scenario to better understand this situation:
- You start a development server using webpack by running the command:
npm start
- The server starts successfully and outputs:
Server is running on port 8080
- If you mistakenly run the same command again without stopping the previous server, you will see the message: “info js server already running”
In such cases, there is no need to panic as it is simply informing you that there is already a server running on the specified port. You usually don’t need to take any further action, and you can access your application in the browser through the specified port (in the example, it would be http://localhost:8080).
However, if you encounter any issues accessing your application or if you need multiple servers running simultaneously, you may need to modify the server configurations to use different ports.