nodejs-MEAN-stack icon indicating copy to clipboard operation
nodejs-MEAN-stack copied to clipboard

Running locally, server.js says it is running on the wrong port

Open blm849 opened this issue 5 years ago • 0 comments

When I run the server, it says it is listening on port 6003. But it is it actually running on localhost:6020, which is the value in the .env file. Example:

$ node server.js Your MongoDB is running at mongodb://ibm_cloud_e=admin&replicaSet=replset Node server running on http://localhost:6003 Connected to mongodb instance

blm849 avatar Aug 18 '20 18:08 blm849