Remote Address

Top  Previous  Next

All Remote Addresses keep resolving to 127.0.0.1

This is because the Apache Server has been configured with mod_proxy. You may ask your administrator

to change to mod_proxy_ajp. If changing to mod_proxy_ajp is not possible, then you may retrieve the Remote Addresses

in your application through the "x-forwarded-for" Request Header Attribute. For example:

       String remoteAddr = request.getHeader("x-forwarded-for");