docker-archive / classicswarm

Swarm Classic: a container clustering system. Not to be confused with Docker Swarm which is at https://github.com/docker/swarmkit
Apache License 2.0
5.75k stars 1.08k forks source link

Swarm Cloud - Error response from daemon - EOF (Telnet Connection closed by foreign host) #2800

Closed vibhuyadav closed 4 years ago

vibhuyadav commented 7 years ago

I have a NATed environment running on AWS. It has two docker-machine instances. Both docker-machine instances are running swarms. I need to connect those swarms to Docker-Cloud Swarm(Beta) and then be able to access it through a docker-machine running on my Mac.

I have opened the Inbound Ports on the NAT and also the listener on the Load Balancer I am running. I have configured the HAproxy to redirect all the traffic coming on port 2376 to one of the docker-machines running the swarm.

Now when I try to telnet and connect to the swarm from the NAT, its fine. But when I try to access the swarm from outside the NAT, the swarm closes the connection.

screen shot 2017-10-04 at 3 42 03 pm

screen shot 2017-10-04 at 3 43 55 pm

Please advice or put me in the right direction.