File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
Servlets
Author
getting the actual client IP
bappa
Greenhorn
Joined: Mar 11, 2008
Posts: 15
posted
Mar 26, 2008 20:55:00
0
Can anybody give some example code of how to get the client's actual IP not proxy IP by
java
servlet
. Thanks in advance.
S K B<br />SCJP 1.5 (83%)
David O'Meara
Rancher
Joined: Mar 06, 2001
Posts: 13459
I like...
posted
Mar 26, 2008 21:07:00
0
You can only get their external 'announced' IP address. If this is replaced by a proxy IP then that's all you get. Sorry.
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: getting the actual client IP
Similar Threads
Questions about some elementary concept
error while connecting to webservices
A 404 Error, need help configuring web.xml
get location of client?
Calling Tomcat directly using Ajax: request for opinions and suggestions
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter