I am trying to install Parse-Server and Parse-Dashboard in Google Cloud (Debian/Jesse). I have already installed on both Windows (locally) and on Heroku and everything worked fine.
My configuration is the following:
- Linux Debian 3.16.43-2
- Node JS 7.10
- Mlab
- Firewall Ports are open
Installed both Parse-Server and Dashboard via npm. I think Parse-Server is running fine since I was able to check that MLab database was written with Parse-Server tables (_SCHEMA, etc).
My Parse Dashboard config file is the following:
{ "apps": [ { "serverURL": "http://localhost:1337/parse", "appId": "1", "masterKey": "654321", "appName": "AppName", "production": "true" } ], "users": [ { "user":"username", "pass":"password" } ] }
I run parse-server with this command and it shows the following status:
parse-server --appId 1 --masterKey 654321 --databaseURI mongodb://dbAdmin:[email protected]:Omitted/Omitted --serverURL http://127.0.0.0.1/ --port 1337 --appName AppName appId: 1 masterKey: ***REDACTED*** port: 1337 host: 0.0.0.0 databaseURI: mongodb://dbAdmin:[email protected]:Omitted/Omitted serverURL: http://127.0.0.0.1/ mountPath: /parse appName: AppName maxUploadSize: 20mb userSensitiveFields: ["email"]
I run parse-dashboard with this command and it shows the following status:
parse-dashboard --config /usr/local/lib/node_modules/parse-dashboard/Parse-Dashboard/parse-dashboard-config.mine.json --allowInsecureHTTP The dashboard is now available at http://0.0.0.0:4040/
I am able to log into Dashboard but it keeps saying: server not reachable unable to connect to server.
I have tried the following list of fixes:
- Changed serverURL to localhost or to 127.0.0.1
- Added /parse at the end of the address
- Changed serverURL port to 1333
- Checked APP ID, APP Masterkey and APP Name
- Opened firewall ports
- Stopped using configuration file
Nothing solves this problem. If anyone has any suggestion, I would very be pleased to try.
Thanks in Advance. Regards, James P
Have you started mongodb?
Did you start parse-server before Parse-Dashboard? In your project folder
On another terminal in your project folder start Parse-Dashboard