This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes how to get IP adress of box on which the app is running Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "how to get IP adress of box on which the app is running" Watch "how to get IP adress of box on which the app is running" New topic
Author

how to get IP adress of box on which the app is running

Axel Janssen
Ranch Hand

Joined: Jan 08, 2001
Posts: 2164
Hi,
how to get the client ip.
I don't have no connection to a servlet.
Connection is through Brazil project HttpRequest to axis Webservice.
In both I don't know how to get IP.
Anybody knows how to get client IP from Brazil framework or axis, or simply reading system properties?
Its not in System.getProperties(stuff);
regards Axel
Axel Janssen
Ranch Hand

Joined: Jan 08, 2001
Posts: 2164
I can simply use:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to get IP adress of box on which the app is running