I has search domain at my /etc/resolv.conf:
cat /etc/resolv.conf
search dev.svc.cluster.local svc.cluster.local cluster.local local
nameserver 10.222.0.10
options ndots:5
On 2.16.8 version it worked well, i resolved nats:4222 on my service in kubernetes. But when i upgrade to 2.16.9 it starts raising exception:
exceptionOccurred, Exception: java.io.IOException: java.lang.IllegalArgumentException: port out of range:-1
i see this commits https://github.com/nats-io/nats.java/pull/847/files
could that be the reason?