<div><span id="goog_1151988908"></span><span id="goog_1151988909"></span><a href="/"></a>I ran into an issue while doing "Understanding ROS Nodes" tutorial <a href="http://www.ros.org/wiki/ROS/Tutorials/UnderstandingTopics#preview">http://www.ros.org/wiki/ROS/Tutorials/UnderstandingTopics#preview</a></div>
<div><br></div><div>I noticed that killed ROS nodes are not being removed from "rosnode list".</div><div><div><br></div><div>When I used "rosnode info turtlesim", I saw:</div>
<div>...</div><div>contacting node <a href="http://i7" target="_blank">http://i7</a>:<b>56977</b>/ ...</div><div>ERROR: Communication with node[<a href="http://i7:56977/" target="_blank">http://i7:56977/</a>] failed!</div>
<div><br></div><div>I thought maybe it was because I did not have $ROS_HOSTNAME defined as described here: <a href="http://www.ros.org/wiki/ROS/NetworkSetup#Single_machine_configuration" target="_blank">http://www.ros.org/wiki/ROS/NetworkSetup#Single_machine_configuration</a></div>

<div>So I added export ROS_HOSTNAME=localhost</div><div><br></div><div>After that "rosnode info turtlesim" give me:</div><div>...</div><div>contacting node <a href="http://localhost" target="_blank">http://localhost</a>:<b>60372</b>/ ...</div>

<div>Pid: 6178</div><div><br></div><div>I thought it was strange to see a different port number, but rosnode list started working.</div><div><br></div><div>Then I went to the next tutorial and did "roscore" while other roscore was running.</div>

<div><br></div><div>Then I noticed that  "rosnode list" again doesn't work and "rosnode info turtlesim" now gives:</div><div>contacting node <a href="http://localhost:39889/" target="_blank">http://localhost:39889/</a> ...</div>

<div>ERROR: Communication with node[<a href="http://localhost:39889/" target="_blank">http://localhost:39889/</a>] failed!</div><div><br></div><div><br></div></div><div>P.S. I'm using Fuerte with a fresh Ubuntu-12.04, 64-bit.</div>