A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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 javax.servlet.ServletRequest interface....
You will find the getRemoteAddr method.
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 ?
Read Client IP Address behind Proxy
Port Number while starting the server
How to obtain the destination machine information
get the IP Address
How to get IP Address of Client Machine?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015