Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

HttpServletRequest and getRemoteAddr()

843841Dec 27 2005
getRemoteAddr() returns same as getLocalAddr()?
Both are returning the web servers address.
I'm running Tomcat 5.5 on a remote server and would expect getRemoteAddr() to return my client ip address; not the web servers address. For some reason nothing returns my client ip address. Any ideas?

Thanks,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 24 2006
Added on Dec 27 2005
0 comments
169 views