Skip to main content

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

Please review the documentation for setting up Jetty behind Apache:
http://wiki.eclipse.org/Jetty/Tutorial/Apache

It covers this use case.

On 7/11/11 10:19 AM, Tore Halset wrote:
> 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.
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users
> 

-- 
Chad La Joie
http://itumi.biz
trusted identities, delivered


Back to the top