Skip to content

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

@blm849

Description

@blm849

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions