Skip to content

Where to find appID and masterkey when mongoDB is installed on AWS EC2 Machine #538

Closed
@naveenksingh

Description

@naveenksingh

hello, I have mongoDB installed on AWS EC2 instance from where I am trying to connect Parse Server installed on my local pc. when I try to connect parse server to parse.com apps using their appid and masterkey it just works fine. but when I try to connect to my mongoDB instance on EC2 then it says "Server not reachable: unable to connect to server".

capture

I already started the server using mongod command on the terminal.
I checked the securityGroup it is open to all requests.
I checked the database it exist with data in it.
I have the following code in configuration file to connect

{
  "apps": [
    {
      "serverURL": "https://api.parse.com/1",
      "appId": "TWxCk7***************************JZ32k3",
      "masterKey": "S*********t3234*******************i",
      "appName": "ParseServer"
    },
    {
      "serverURL": "https://api.parse.com/1",
      "appId": "x544******************4343************SPtRO",
      "masterKey": "8B4******************Y32fkiiU782IL",
      "appName": "ParseServer 2"
    },
    {
      "serverURL": "http://dbuser:Password@ec2-**4-2**-**4-1*9.compute-1.amazonaws.com:27017/db",
      "appId": "x544******************4343************SPtRO",
      "masterKey": "8B4******************Y32fkiiU782IL",
      "appName": "AWS"
    }
  ]
}

Note: ParseServer2 and AWS apps have same key because the db on EC2 is migrated from it.

Help me please. thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:wont-fixWon’t be fixed with a clearly stated reason

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions