This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread 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
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to get IP adress of box on which the app is running
 
Similar Threads
servlet tcp/ip doesn't disconnect
get available IP address
Invoking webservice with axis HttpConnection pool
Help with writing a client file
getting own IP address