How to get clients IP address in gwt I tried using this
String ip = InetAddress.getLocalHost()+"";
when i run on local i get proper IP address of my machine but when i deployed it on server i got 127.0.0.1
which is ip address of my development mode link
so how can i get client machine's IP address from server.
i also tried using
String ip = getThreadLocalRequest().getRemoteAddr();
it showed the ip address of server but not clients machine ...
Any help ....thanks in advance