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!

why request.getRemoteAddr() is displaying 127.0.0.1?

843836Jun 18 2004 — edited Jun 22 2010
hi all,
when i try

<% out.print("IPADDRESS"+request.getRemoteAddr());%>


its printing 127.0.01.

i am trying to get the client ip address.i search in the forum and found that request.getRemoteAddr() to get client ip address but for me its showing 127.0.0.1?where i am wrong?


Any help will be greatly appreciated?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 20 2010
Added on Jun 18 2004
9 comments
2,571 views