aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes host Name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "host Name" Watch "host Name" New topic
Author

host Name

dave wav
Greenhorn

Joined: Apr 04, 2002
Posts: 9
Hello all,
I have a question about host name. what the other host name could be except the localhost?
How do I find the host name and port number if I run my application on different machines?
Thanks,
dave
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17259
    
    6

You can always run ipconfig in a DOS window, if you are using Microsoft. this will give you the IP address. As far as port. If you are using the default it is 1099, otherwise you are telling it what port to use already, so you should know that number.
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
dave wav
Greenhorn

Joined: Apr 04, 2002
Posts: 9
Thank you mark, I'll try it.
dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: host Name