Request from jabber simple to openfire server

Dear all,

I am using jabber simple api in my rails application and i have

installed openfire server too. now i want to know how to send chat
request from my rails application to openfire server using by default jabber::simple sends the request to the
port 5222 which belongs to google talk. any directions will be