Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 2203

Connection refused - docker to docker

$
0
0
Hi, I am trying to establish ros connection between 2 dockers. Details given below. 1. Lets consider I have **docker_1** and **docker_2**. 2. I am able to publish message from **docker_1** and subscribe it to **docker_2** provided my ```roscore``` is running in **docker_1**. 3. When I try to publish message from **docker_2** and subscribe it from **docker_1** I am getting the below 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

Viewing all articles
Browse latest Browse all 2203

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>