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

Connectin refused #1

Closed
xultz opened this issue Oct 2, 2018 · 1 comment
Closed

Connectin refused #1

xultz opened this issue Oct 2, 2018 · 1 comment

Comments

@xultz
Copy link

xultz commented Oct 2, 2018

Hello!

I installed openvpn and openvpn-monitor docker container in an Ubuntu 18.04 server. I configured openvpn to open the management service on port 5555, and I checked with telnet that it is open and working fine (I sent commands, and I saw on the openvpn that it got a connection).
I disconnected the telnet, and when I run the docker with the command "docker run --name openvpn-monitor -e OPENVPNMONITOR_SITES_0_ALIAS=UDP -e OPENVPNMONITOR_SITES_0_HOST=127.0.0.1 -e OPENVPNMONITOR_SITES_0_NAME=UDP -e OPENVPNMONITOR_SITES_0_PORT=5555 -p 80:80 ruimarinho/openvpn-monitor", I see no activities on the openvpn log, and when I open the openvpn-monitor page, it shows the message "Could not connect to 127.0.0.1:5555 (Connection refused)"

What am I doing wrong? Are there any log where I could check what's going on? Are there any configuration file I should change?

Thank you for any help!

@ruimarinho
Copy link
Owner

You need to point the host the correct container IP/hostname, not the localhost one.

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

2 participants