Can't Connect to my Openfire server

Hello,

I used DigitalOcean to rent a linux server and successfully installed OpenFire on it. The server seems to be running as I can access the administrative panel with no problems. and when I use linux command “service openfire status” it shows that it’s running for 48 hours.

Neither Spark or Pidgin is able to connect to the server. I own a domain through GoDaddy.com

I feel like my DNS settings might not be correct.

I added a total of 4 DNS records in hopes of fixing my issue. Here they are as I inputted it.

A Record

xmpp
600
IN
A
xx.xx.xx.xx*

*server ip.

SRV Records

_xmpp-client._tcp.domain.com
18000
IN
SRV
0
5
5222
xmpp.domain.com
_xmpp-server._tcp.domain.com
18000
IN
SRV
0
5
5269
xmpp.domain.com
_jabber._tcp.domain.com
86400
IN
SRV
0
5
5222
xmpp.domain.com

For the domain/hostname in openfire, I inputted xmpp.domain.com

On the clients I tried connecting to xmpp.domain.com and domain.com just by itself and neither works.

I was wondering if someone might have an idea of what I’m doing wrong.

Thanks.

I actually figured out the problem. Stupid me. I forgot to uninstall a previous XMPP server program (Prosody) which I initially was just fiddling with but then decided to stick with OpenFire. Once that was installed and I restarted everything the clients are able to connect with no problems.