Re: [I] use client to connect to the cluster server, and the connection will only be established to one instance. [mina-sshd]

2023-12-15 Thread via GitHub
d9e7381f commented on issue #435: URL: https://github.com/apache/mina-sshd/issues/435#issuecomment-1857616177 @tomaswolf In my case, i will keep retrying to establish a connection to the server until it succeeds. so I overwrite some methods to do that, but I'm not sure if it will cause

Re: [I] use client to connect to the cluster server, and the connection will only be established to one instance. [mina-sshd]

2023-12-14 Thread via GitHub
tomaswolf commented on issue #435: URL: https://github.com/apache/mina-sshd/issues/435#issuecomment-1856496111 Yes, like plain Java HTTP, Apache MINA sshd only uses the first IP address. In part this is hard-coded in Java's `InetSocketAddress(String hostname, int port)`, which resolves the