This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes IP Address as a hostname string ! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "IP Address as a hostname string !" Watch "IP Address as a hostname string !" New topic

IP Address as a hostname string !

Pratik Khetia
Ranch Hand

Joined: Jun 29, 2001
Posts: 50
When making calls to RMI, Currently I am passing the name of the host as the hostname but instead if I want to pass to IP address of the hostname how can I do that ??
Vladimir Ergovic
Ranch Hand

Joined: Apr 22, 2001
Posts: 63
You should be able to do that without problems. I used that when I had to comunicate with machine just via public IP.

Vladimir Ergovic
I agree. Here's the link:
subject: IP Address as a hostname string !