Connection refused - docker to docker
Hi,
I am trying to establish ros connection between 2 dockers. Details given below.
Lets consider I have
docker_1
anddocker_2
.I am able to publish message from
docker_1
and subscribe it todocker_2
provided myroscore
is running indocker_1
.When I try to publish message from
docker_2
and subscribe it fromdocker_1
I am getting the below error.
Error:
[ERROR] [WallTime: 1553869754.845807] Unable to connect subscriber to publisher [http://172.17.0.1:44027/] for topic [/check]: unable to requestTopic: [Errno 111] Connection refused
IP details:
docker_1 :
ROS_MASTER_URI = http://172.17.0.1:11311
ROS_IP = 172.17.0.1
==========================================
docker_2 :
ROS_MASTER_URI = http://172.17.0.1:11311
ROS_IP = 172.17.0.1
Could you please help me to fix this.
Thank you, KK