Spark does not log - Can not connect to server

Guys, good afternoon.

I am using openfire 4.32, on an Ubuntu 18.04.2 LTS server, I have already done integration with my domain controler and am using the native database of Openfire.
As client I am using spar 2.8.3, but I am not able to connect to the server I get the message that can not connect to the server: Name of the invalid or unrecognized server.
I already checked everything and I do not know how to solve it. Can someone help me?

What is your XMPP Domain (shown on the first page of Admin Console)? Do you put this name in Spark in the Domain field? I suspect something is wrong with that. You can read this to understand why domain is important

thanks, miraculously replaces the version of openfire to the latest and everything has been solved.
I think maybe it was a flaw in the previous version.