• Post Reply Bookmark Topic Watch Topic
  • New Topic

host Name

 
dave wav
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
dave wav
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you mark, I'll try it.
dave
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!