Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server not reachable #6

Open
ugochirico opened this issue Sep 28, 2018 · 6 comments
Open

Server not reachable #6

ugochirico opened this issue Sep 28, 2018 · 6 comments

Comments

@ugochirico
Copy link

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?

@richjing
Copy link
Collaborator

what's your status of applications?

pm2 status

@ugochirico
Copy link
Author

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 │
└─────────────────────┴────┴──────┴────────┴───┴──────┴───────────┘

@richjing
Copy link
Collaborator

is mongodb successfully connected?

@ugochirico
Copy link
Author

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
Copy link
Author

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

@rameshkec85
Copy link

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants