• Post Reply Bookmark Topic Watch Topic
  • New Topic

Client IP

 
dema rogatkin
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When a servlet container bridged with some web server as Apache, all client addresses become 127.1.1.0 or a machine where Apache runs. What are solutions can be to figure out a client IP?
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
127.0.0.1, the IP loopback address.

Depending on how your link between Apache and the container, you can get Apache to pass the client IP address to the container. Unfortunaetly I can't give you any specific details at the moment
 
dema rogatkin
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you. It looks like a connector config parameter useIPVHosts which is by default false.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!