Server to Server connection not working

Hi,

I have installed Openfire on 2 server

Server1 (Openfire 3.7.1)

domain - server1.com

Operating system - windows XP

Server2 (Openfire 3.7.1)

domain - server2.com

Operating system - windows 7

Have configured Server to Server on the both servers to connect to other server.but I dont see session of one server on another server. neither users from different servers are able to communicate.

Tried, TELNET on 5269 from each server and seems the ports are also open.

dont see any error either.

Can somebody please help what might be wrong.

Regards,

-Yogesh

I finally got it working… it was purely my mistake.

I was giving the same domain names for both the server. After giving them Fully qualified domain name things started working fine.