Unable to log into Spark via Openfire

I’ve installed Openfire and Spark on the same PC and was able to log into Spark just fine. I installed Openfire on a server but now I am unable to log into Spark. It tells me I am unable to connect to the server. Any ideas??

Thank you.