public static String getRemoteAddress ( ) { InetAddress addr = getRemoteIp ( ) ; return ( addr == null ) ? null : addr . getHostAddress ( ) ; }
Returns remote address as a string when invoked inside an RPC . Returns null in case of an error .