Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to find client IP from JavaWS application  RSS feed

 
Yan Bezugliy
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I go about finding the IP address of the PC that the JNLP application is launched at? Thanks.
 
Jared Cope
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Originally posted by Yan Bezugliy:
How do I go about finding the IP address of the PC that the JNLP application is launched at? Thanks.


You can get that from within the application running on the client with:



Is this what you meant? if not, let us know your scenario.

Cheers, Jared.
 
Kino Lobo
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But where will the IP be printed?
I didn't get it...
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where do you want the IP address to be printed?

With System.out, it'll go in the output logs.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!