5222 port closed

Please help me, 5222 port closed and spark can not connection.

How is it closed and why you think it is closed? If you are referring to the padlock icon, this is only to show the connection is encrypted, not that port is closed.

there was no padlock symbol in the old OpenFire and I could log in from SPARK. Right now I’m getting the error in the picture.


It was dissolved. It was an SSL error. thank you for everything, the solution is as follows;