Discussion:
[Supervisor-users] connect to it remote supervisorctl from local machine
Steve Lorimer
2015-08-26 23:09:44 UTC
Permalink
I am running supervisord as root on a remote server.


I would like to connect to it using supervisorctl from my local machine.


This is part of the remote server's config:


[inet_http_server]

port = 127.0.0.1:9001

username = user

password = {SHA}1235678


[supervisorctl]

serverurl=http://localhost:9001


I have the following config locally:


[supervisorctl]

serverurl=http://remote.hostname.com:9001


When I run supervisorctl I get "Connection refused"

What do I need to do in order to connect to my server from my local machine?

TIA
Steve
Timothy Jones
2015-08-27 13:04:09 UTC
Permalink
Your supervisor server process has to listen on 0.0.0.0:9001 not 127.0.0.1:9001.
Try changing the 'port' line in the inet_http_server stanza, and restart supervisor.

t
........................................................................................................
Tim Bailey-Jones | Senior Advisory Systems Engineer, Development
+1 (813) 454.8643 work mobile | (813) 900.8131 personal mobile
Syniverse | We make mobile work.
***@syniverse.com<mailto:***@syniverse.com> | http://www.syniverse.com<http://www.syniverse.com/>


From: <supervisor-users-***@lists.supervisord.org<mailto:supervisor-users-***@lists.supervisord.org>> on behalf of Steve Lorimer <***@gmail.com<mailto:***@gmail.com>>
Date: Wednesday, August 26, 2015 at 7:09 PM
To: "supervisor-***@lists.supervisord.org<mailto:supervisor-***@lists.supervisord.org>" <supervisor-***@lists.supervisord.org<mailto:supervisor-***@lists.supervisord.org>>
Subject: [Supervisor-users] connect to it remote supervisorctl from local machine


I am running supervisord as root on a remote server.


I would like to connect to it using supervisorctl from my local machine.


This is part of the remote server's config:


[inet_http_server]

port = 127.0.0.1:9001<http://127.0.0.1:9001>

username = user

password = {SHA}1235678


[supervisorctl]

serverurl=http://localhost:9001


I have the following config locally:


[supervisorctl]

serverurl=http://remote.hostname.com:9001


When I run supervisorctl I get "Connection refused"

What do I need to do in order to connect to my server from my local machine?

TIA
Steve

Loading...