Skip to content

Wrong Port #64

Description

@themichael123

Hi Google team,

the implementation of Parse Server:

app.listen(process.env.PORT || 8080, '0.0.0.0', function()

will lead to sporadic nginx 502 gateway errors. The official parse-server repo uses a different port.

Thanks.

Activity

  1. jmdobry commented on Feb 2, 2016

    @jmdobry
    Member

    Parse-server itself is not actually a server, but middleware that you attach to your actual server. And as middleware, Parse-server doesn't care what port you use–the Parse-server source code doesn't even ever look at the port. The example server shown in the Parse-server README does indeed use a different default port, but like our sample, the Parse-server sample also prefers process.env.PORT over the default, so if you have need to use a particular port, just set the PORT environment variable to a port of your choosing and you should be good to go.

  2. added a commit that references this issue on Oct 26, 2022
  3. added a commit that references this issue on Nov 3, 2022
  4. added a commit that references this issue on Nov 9, 2022
  5. added a commit that references this issue on Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🚨This issue needs some love.triage meI really want to be triaged.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions