![]() Note the second column of the result, which is the PID, and required to stop the running process. ![]() The result will show something like: node 2464 murari 21u IPv6 4392639 0t0 TCP *:http-alt You can replace that with any port you want. To find the PID, lsof -i TCP:8080 | grep LISTENįor me, the port that was in use was 8080. Please note that the following commands were run on Ubuntu 18.04 LTSįor Windows or Mac, the process remains the same, while the commands might be a little different. This can be fixed by first finding out which PID the process is using and then kill it. Error: listen EADDRINUSE: address already in use :::8080Īt tupListenHandle (net.js:1258:14) This keeps the node server running, and when we try to restart the application, it throws the “EADDRINUSE: address already in use” error. ![]() Mostly in development machines, we tend to leave out the node server running, and close the terminal.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |