Error when trying to open i Spark on Windows 11

Hello, I’m having problems connecting Spark to Windows 11. It works normally on any other Windows.

The message it displays is below.

org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: ‘openfire-centos-server:5222’ failed because: openfire-centos-server
at org.jivesoftware.smack.SmackException$ConnectionException.from(
at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(
at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(
at org.jivesoftware.smack.AbstractXMPPConnection.connect(
at org.jivesoftware.LoginDialog$LoginPanel.login(
at org.jivesoftware.LoginDialog$LoginPanel.access$900(
at org.jivesoftware.LoginDialog$LoginPanel$3.construct(
at org.jivesoftware.spark.util.SwingWorker.lambda$new$1(
at Source)

This appears to be a networking issue. This computer cannot reach the server with the name openfire-centos-server. It might not be able to resolve an IP address for that name.

This problem only happens on machines with Windows 11, I have machines with Windows 10, Windows 8 and Windows 7.

I did the test and put the direct IP of the Server and sometimes it works and sometimes it doesn’t.

I’m going to update Openfire to the latest version and I’ll see if it solves it and if it doesn’t, I’ll let you know again here.