ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Network Setup Problem

asked 2014-01-06 02:27:56 -0600

yigit gravatar image

updated 2014-01-28 17:18:57 -0600

ngrennan gravatar image

Hello everyone,

I want to setup a connection between my robot and my laptop. I had done it successfully like a thousand times before but this time something went wrong and now, I am unable to locate the problem. Here are the details:

This is the error message:

Unable to contact my own server at []. This usually means that the network is not configured properly.

A common cause is that the machine cannot ping itself. Please check for errors by running:


For more tips, please see

<a href=""></a>

IPs of the machines:

IP of the robot:

My IP:

On my laptop, exports are as follows:


export ROS_IP=

Every ping combination works and also netcat tests are successful.

Furthermore, when I start both machines with this configurations and start roscore on my robot, I am able to see the topics on my laptop by typing

rostopic list

This means that the robot and my laptop can indeed communicate. However, when I try to run a node from the laptop I got the error message given above.

I performed an exhaustive search on almost all the combinations of ROS_xxx environment variables (which are related with network setup) and /etc/hosts file entries on both machines with no luck.

Hope someone guides me through these complicated configurations.

Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-01-06 08:40:28 -0600

ahendrix gravatar image

ROS_IP should be the IP address of the machine that it's set on, not the IP of the master.

Thus, on your laptop ROS_IP should be set to

edit flag offensive delete link more


I would never have noticed that. Thanks a lot.

yigit gravatar image yigit  ( 2014-01-06 23:38:14 -0600 )edit

Question Tools



Asked: 2014-01-06 02:27:56 -0600

Seen: 1,764 times

Last updated: Jan 06 '14