This content originally appeared on DEV Community and was authored by Anurag Roy
while running the npm script (npm start) you may encounter the command, this basically occurs when we have previously run the file in same port, to avoid this what we have to do is----
go to the server.js file then
update this
Server.HTTP_PORT = WXYZ;
Server.HTTPS_PORT = ABCD;
i.e. change WXYZ to something else and ABCD to something else
then again run npm start
then it will successfully get started in the updated port address.
This content originally appeared on DEV Community and was authored by Anurag Roy
Anurag Roy | Sciencx (2022-06-05T17:32:26+00:00) Error: listen EADDRINUSE: address already in use XXXX. Retrieved from https://www.scien.cx/2022/06/05/error-listen-eaddrinuse-address-already-in-use-xxxx/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.