Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to find client IP from JavaWS application

 
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic