achingbrain / achingbrain/pm2-web

Connecting to remote PM2

Open
#30 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
539
Forks
88
PR merge metrics
No merged PRs in 30d

Description

I am having trouble talking to PM2 instances on a remote host. Wondering if someone could help set me straight.

I have set up an env variable called: PM2_BIND_ADDR
[root@cp-bus-api app]# echo $PM2_BIND_ADDR
0.0.0.0

But when I start PM2 there is nothing on port 6666
[root@cp-bus-api app]# netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:\* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:\* LISTEN
tcp 0 0 0.0.0.0:443 0.0.0.0:\* LISTEN

I am running the latest version of PM2:
[root@cp-bus-api app]# pm2 -v
0.11.0

Once I actually have something running on port 6666 I assume I will need to configure the firewall to let my PM2-web server to see it. I'm just not having much luck getting pm2 to actually open up and start doing something on that port.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.