-
Notifications
You must be signed in to change notification settings - Fork 166
Can't bind hostname to ip correctly! #255
Comments
Hi @erow, You should be doing something like this to start the node: https://github.com/ekumenlabs/tangobot/blob/master/tangobot_app/app/src/main/java/com/ekumen/tangobot/application/MainActivity.java#L398. |
I diidn't change my |
can you copy the code you are using to execute the node? What does your |
I copy the code from
My hosts:
By the way I always got error when I compiled rosjava.
|
Ok, but where are you getting the MasterUri from?
Perhaps you are trying to target your external IP address somehow, and that's why you are getting the exception. The hosts file looks OK. |
I still don't know why. But I find it's more reliable to set |
If I had to debug this, I would check the following items:
For example, if I publish a message to the topic
This means that the node ending in On the other side, if I first import
As you can see, now the publisher is using its IP address, not the hostname. So in this case, the subscriber will need to resolve that IP address, and won't care about the hostname. @erow does that help...? This is not rosjava but regular ROS networking issues. |
Yes, indeed. I read tutorial again recently.And It's helpful to use |
Hmm interesting... |
I think I won't have this problem again, so close it maybe better.
2017-09-29 21:50 GMT+08:00 Juan Ignacio Ubeira <[email protected]>:
… Hmm interesting...
Anyway, I'm glad that it works now! Should we keep this issue open or can
we close it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#255 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHLQBPw5X09B9qE2b0LWtYIat0UxkJ6Cks5snPWTgaJpZM4PR6_j>
.
|
My system environment is Jessie on raspberry pi.
I create a subscriber at '/card'.And there's no way to publish any topic.
I got an error message:
It's strange raspberrypi/218.205.57.154 ,it should be '127.0.0.1'.
And I have no idea to the problem.
The text was updated successfully, but these errors were encountered: