A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
how to get Client ip address ?
Joined: Sep 03, 2007
Sep 03, 2007 06:05:00
Hi all ,
i have a server application running on
App. Server . i want to get the ip address of the client who send its requests by its browser ?
any suggestions ?
PS. Http headers does not contain Client ip .
Author and all-around good cowpoke
Joined: Mar 22, 2000
Sep 03, 2007 06:22:00
Examine the JavaDocs for the
You will find the getRemoteAddr method.
Java Resources at
Joined: Dec 11, 2004
Sep 03, 2007 10:22:00
You can find the API here:
How to ask a question...
Simple Servlet Examples
I agree. Here's the link:
subject: how to get Client ip address ?
How to obtain the destination machine information
How to get IP Address of Client Machine?
get the IP Address
Port Number while starting the server
Read Client IP Address behind Proxy
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014