multiple-apps-parse-server
multiple-apps-parse-server copied to clipboard
Server not reachable
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?
what's your status of applications?
pm2 status
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 │ └─────────────────────┴────┴──────┴────────┴───┴──────┴───────────┘
is mongodb successfully connected?
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
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
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"