Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I am trying to get the IP address f 1

Status
Not open for further replies.

BaoBao

Programmer
Oct 28, 2002
3
US
I am trying to get the IP address from the client using Java 2 (Not java svelent). Is that possible? If so, how?

Thank you very much for your help.
 
java.net.InetAddress.getLocalHost().getHostAddress();

-pete
 
Had a question,
did a search of the forums,
found an answer.

Thank you, pete!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top