Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] getRemoteAddr() returning private ip number

Hello.

We have an installation with jetty 7.3.0.v20110203 behind a Apache http server (not using ajp, just http). For one particular client, HttpServletRequest#getRemoteAddr() return the private ip number starting with "10." used inside the clients network. I expected to see the clients public external ip address. The correct external ip number is reported in the request log.

Should I use something else than HttpServletRequest#getRemoteAddr()?

Regards,
 - Tore.

Back to the top