Wednesday, March 18, 2015 : IPV4 versus IPV6

See the whole documentation here

If you have a process listening on a Socket which is IPv6- enabled, you should see this by doing "ss -ln":

tcp LISTEN 0 100 ::ffff: :::*

If the socket is enabled only for IP4, you should see:

tcp LISTEN 0 100 *:*

Passing the property to the JVM forces the ServerSocket to bind to a IPV4 address - not sure why you want to do this anyway.

No comments: