File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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:
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to get IP adress of box on which the app is running