Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSP
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
JSP
how to get Client ip address ?
ozkan gumus
Greenhorn
Posts: 7
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi all ,
i have a server application running on
Tomcat
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 .
thanks ,
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Examine the JavaDocs for the javax.servlet.ServletRequest interface....
You will find the getRemoteAddr method.
Bill
Ben Souther
Sheriff
Posts: 13411
I like...
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You can find the API here:
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletRequest.html
Java API
J2EE API
Servlet Spec
JSP Spec
How to ask a question...
Simple Servlet Examples
jsonf
Consider Paul's
rocket mass heater
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
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?
More...