On Wed Nov 2, 2022 at 4:25 PM CET, Jens Grassel wrote:
> [...]
> If I explicitly set an ipv6 entry like "::" or "::1" I get an exception:
>
> ```
> ERROR Nio2Acceptor - bind(/[::1]:30983) - failed (SocketException) to bind: 
> Protocol family unavailable
> [ERROR] java.net.SocketException: Protocol family unavailable
> [ERROR]      at java.base/sun.nio.ch.Net.bind0(Native Method)
> [ERROR]      at java.base/sun.nio.ch.Net.bind(Net.java:555)
> [ERROR]      at java.base/sun.nio.ch.Net.bind(Net.java:544)
> [ERROR]      at 
> java.base/sun.nio.ch.AsynchronousServerSocketChannelImpl.bind(AsynchronousServerSocketChannelImpl.java:164)
> [ERROR]      at 
> org.apache.sshd.common.io.nio2.Nio2Acceptor.bind(Nio2Acceptor.java:83)
> [ERROR]      at 
> org.apache.sshd.common.io.nio2.Nio2Acceptor.bind(Nio2Acceptor.java:173)
> ...
> ```

It seems that this is an operating system / jvm issue. I tried a couple
of systems and it seems that with Java 17 it works under Linux but not
under FreeBSD.

So I guess this is not mina-sshd related.

Sorry for the noise,

Jens

-- 
Wegtam GmbH, CTO 2022-11-02 16:41
Homepage : https://www.wegtam.com

BOFH excuse #397:

T1's congested due to porn traffic to the news server

Attachment: signature.asc
Description: PGP signature

Reply via email to