File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: how to get Client ip address ?
How to get IP Address of Client Machine?
How to obtain the destination machine information
Read Client IP Address behind Proxy
Port Number while starting the server
get the IP Address
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014