I have a problem, which seems rather odd to me:
I have a service running on localhost:8080 which is totally fine reachable with a Java Jersey client per default.
System.getProperties().setProperty("java.net.preferIPv6Addresses", "true"); the service is suddenly unreachable. The error message is
Caused by: java.net.ConnectException: Connection refused: connect.
Again, in principle the service is reachable (when using IPv4). The error just happens when activating IPv6. Is there special setup needed in the ...\etc\hosts file? (I am running Windows 10)
Any help is much appreciated!