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 the Client IP address Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "How to get the Client IP address" Watch "How to get the Client IP address" New topic
Author

How to get the Client IP address

Tiger Scott
Ranch Hand

Joined: Mar 01, 2001
Posts: 223
I need to read the client IP address. I do not find a System property for it.
TIA
Sanjay
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Tiger,
Please change your name to be compliant with JavaRanch's naming policy.
Your displayed name should be 2 separate names with more than 1 letter each. We really would prefer that you use your REAL name.
Thanks,
Cindy


"JavaRanch, where the deer and the Certified play" - David O'Meara
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Look at the INetAddress class.
 
 
subject: How to get the Client IP address
 
Similar Threads
Track client request
How to get IP Address of Client Machine?
Java /Oracle (IPAddress)
client IP address
How can I resolve the IP address of a PC into the location of that PC