multiple-apps-parse-server icon indicating copy to clipboard operation
multiple-apps-parse-server copied to clipboard

Server not reachable

Open ugochirico opened this issue 6 years ago • 6 comments

I follow your instructions installing all needed but after created my first app, in the dashboard I see my app but I got: "Server not reachable: unable to connect to server"

What's wrong?

ugochirico avatar Sep 28 '18 21:09 ugochirico

what's your status of applications?

pm2 status

richjing avatar Sep 29 '18 00:09 richjing

All apps is online:

┌─────────────────────┬────┬──────┬────────┬───┬──────┬───────────┐ │ Name │ id │ mode │ status │ ↺ │ cpu │ memory │ ├─────────────────────┼────┼──────┼────────┼───┼──────┼───────────┤ │ napoligoal │ 0 │ fork │ online │ 2 │ 0.1% │ 81.8 MB │ │ parse-dashboard │ 2 │ fork │ online │ 1 │ 0% │ 46.4 MB │ │ parse-route │ 1 │ fork │ online │ 1 │ 0% │ 39.3 MB │ │ universaltranslator │ 3 │ fork │ online │ 0 │ 0.1% │ 79.4 MB │ └─────────────────────┴────┴──────┴────────┴───┴──────┴───────────┘

ugochirico avatar Sep 29 '18 05:09 ugochirico

is mongodb successfully connected?

richjing avatar Sep 29 '18 07:09 richjing

yes. it seems so:

root@vps593332:~# netstat -plntu Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1268/sshd tcp 0 0 127.0.0.1:27017 0.0.0.0:* LISTEN 4218/mongod tcp6 0 0 :::22 :::* LISTEN 1268/sshd tcp6 0 0 :::3000 :::* LISTEN 4364/routeProxy.js tcp6 0 0 :::1338 :::* LISTEN 4528/app.js tcp6 0 0 :::1339 :::* LISTEN 4347/app.js tcp6 0 0 :::4040 :::* LISTEN 4365/app-dashboard. udp 0 0 0.0.0.0:68 0.0.0.0:* 1119/dhclient

ugochirico avatar Sep 29 '18 07:09 ugochirico

yes. mongod is running:

root@vps593332:/opt/server# sudo service mongod status ● mongod.service - High-performance, schema-free document-oriented database Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled) Active: active (running) since Sat 2018-09-29 16:19:10 CEST; 12min ago Docs: https://docs.mongodb.org/manual Main PID: 11923 (mongod) Tasks: 17 Memory: 50.5M CPU: 4.609s CGroup: /system.slice/mongod.service └─11923 /usr/bin/mongod --config /etc/mongod.conf

ugochirico avatar Sep 29 '18 14:09 ugochirico

Hi @ugochirico,

FYI

Apply the following changes to run locally:

dashboard.json: "serverURL": http://localhost:3000/firstapp

config/firstapp.json:

"publicServerURL":"https://localhost:4040/firstapp"

rameshkec85 avatar Aug 29 '19 07:08 rameshkec85