• 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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!