The method getRemoteAddress of the RemotingConnection returns
InetSocketAddress::toString which calls InetAddress::toString. And the
comment says:

Converts this IP address to a {@code String}. The
* string returned is of the form: hostname / literal IP
* address.
*
* If the host name is unresolved, no reverse name service lookup
* is performed. The hostname part will be represented by an empty string.


Modanese, Riccardo <riccardo.modan...@eurotech.com.invalid> 于2019年8月22日周四
下午4:48写道:

> Hello, the method getRemoteAddress of the RemotingConnection object
> returns an address starting with '/'.
>
> Is it working as expected (and in this case is there any reason to have an
> address starting with '/') or it's a bug?
>
>
>
> Regards
>
> Riccardo
>

Reply via email to