Re: how to get the real client ip--Emergency

2014-04-22 Thread Christopher Popp
You can configure the F5 to not translate the client address.  If you set the F5 up this way you'll get the client's IP address while still being able to use the F5 for load balancing.   https://devcentral.f5.com/questions/maintain-client-ip-address Chris On Friday, April 18, 2014 3:30 AM,

how to get the real client ip--Emergency

2014-04-18 Thread ????????
Hi, I am using Mina to developing a server program. When the client directly connects to the server, using the following code I can get the ip: String clientIP = ((InetSocketAddress)session.getRemoteAddress()).getAddress().getHostAddress(); But, when we use a F5(load balance machine) between

Re: how to get the real client ip--Emergency

2014-04-18 Thread Emmanuel Lécharny
Le 4/18/14 7:27 AM, 心冶独孤 a écrit : Hi, I am using Mina to developing a server program. When the client directly connects to the server, using the following code I can get the ip: String clientIP = ((InetSocketAddress)session.getRemoteAddress()).getAddress().getHostAddress(); But, when