I used the following code to get the visitors IPaddress.
<div id="news1"><%=request.getRemoteAddr()%></div>
When I run the code, I get the following output
0:0:0:0:0:0:0:1
Can I know what is actually happening in this line? I am not using any proxy and got this output when connecting from local host.