Authentication problems

I recently followed this guide for setting up a jitsi server. I used the guide in the past and it worked fine, but due to my own stupidty I had to rebuild the server, and now it won’t work. There is some problem with the authentication. I put in my credentials for host, it goes to obtaining IP and then closes and the dialog asking for a host remains. I searched the forums nad found similar problems, but I wasn’t able to fix this.

I’m not sure, but I may have found the culprit. I was using port 5222 for ssh, which is apparently used by prosody according to another thread.

Switched the ports around and it works fine now.