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
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: http://aspose.com/file-tools
subject: IP Address as a hostname string !
Similar Threads
hostname from ip address
Getting CommunicationException
SQL Server 2005 Connection using SQL Explorer 3.5 in Eclipse
Access Denied while accessing files present on same machine!
Naming Exception