wood burning stoves 2.0*
The moose likes JNLP and Web Start and the fly likes How to find client IP from JavaWS application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "How to find client IP from JavaWS application" Watch "How to find client IP from JavaWS application" New topic
Author

How to find client IP from JavaWS application

Yan Bezugliy
Greenhorn

Joined: Aug 30, 2006
Posts: 3
How do I go about finding the IP address of the PC that the JNLP application is launched at? Thanks.


FatWallet.com + SlickDeals.net = <a href="http://wireddeals.com" target="_blank" rel="nofollow">http://wireddeals.com</a>
Jared Cope
Ranch Hand

Joined: Aug 18, 2004
Posts: 243
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.


SCJP 1.4 91%, SCJP 1.5 88%, SCJD B&S
Kino Lobo
Greenhorn

Joined: Feb 08, 2006
Posts: 20
But where will the IP be printed?
I didn't get it...


I'd rather trust a man who works with his hands!
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

Where do you want the IP address to be printed?

With System.out, it'll go in the output logs.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to find client IP from JavaWS application
 
Similar Threads
how to get the IP address of the browser
regarding ip address and website
how to get the compute ip
Restrict access via IP
Check the connectivity from one host IP to another IP