That would be because the remote address when behind a firewall is 127.0.0.1
Firewalls can typically set headers to tell you info about the remote connection and you can install a request customizer to interpret these. Currently you can do this by editing jetty.xml and uncommenting the org.eclipse.jetty.server.ForwardedRequestCustomizer hmmm we should add that as a module! On 2 October 2015 at 16:05, Vic Cekvenich <[email protected]> wrote: > This works for me and return correct IP of user when jetty is on 8080. > But when csf firewall moves it to 80 > .getRemoteAddr() returns 127.0.0.1 > > Yes - I check the headers, none are actionable. > > Help? > Vic > > _______________________________________________ > jetty-users mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/jetty-users > -- Greg Wilkins <[email protected]> CTO http://webtide.com
_______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
