Not being able to connect

I’m having a lot of trouble with connecting on Pidgin V 2.9.0 to Openfire 3.7.0.

All my settings are fine, I have been connected on and off for a while.

I have restarted Openfire and Pidgin several times, but it just always seems to keep trying to connect.

Any help would be appreciated.

R