Why can i only connect as localhost?

Folks,

Using openfire Version: 3.6.4and java version jdk6-bin 6u14

Symptoms: I can connect to my jabber server on localhost. From any other computer in the network or outside the network i can not. I get a connection refused. This was all working fine and then something happened. Honeslty i don’t know what changed as i made many updates over a period of days and did not use my server for a while. All other servers (web, imap) work just fine from anywhere.

Things i have tried: I’ve tried making sure my ssl certificates were upto date. I’ve tried turing ssl off. No change. I’ve verified that ports 5222, 5629, 7777 and 5223 are open on my router. I’ve turned on dmz for a moment to make sure nothing was blocked in the router.

Error logs; honestly i don’t see how this helps much but in my error logs i see;:

2009.08.09 12:40:20 [org.jivesoftware.openfire.session.LocalOutgoingServerSession.createOutgoingSes sion(LocalOutgoingServerSession.java:258)] Error trying to connect to remote server: proxy.jabber.org(DNS lookup: proxy.jabber.org:5269)
java.net.UnknownHostException: proxy.jabber.org
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at org.jivesoftware.openfire.session.LocalOutgoingServerSession.createOutgoingSess ion(LocalOutgoingServerSession.java:253)
at org.jivesoftware.openfire.session.LocalOutgoingServerSession.authenticateDomain (LocalOutgoingServerSession.java:144)
at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.sendPa cket(OutgoingSessionPromise.java:239)
at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(Ou tgoingSessionPromise.java:216)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
2009.08.09 12:40:25 [org.jivesoftware.openfire.session.LocalOutgoingServerSession.createOutgoingSes sion(LocalOutgoingServerSession.java:258)] Error trying to connect to remote server: lupinenet.co.uk(DNS lookup: lupinenet.co.uk:5269)
java.net.UnknownHostException: lupinenet.co.uk
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at org.jivesoftware.openfire.session.LocalOutgoingServerSession.createOutgoingSess ion(LocalOutgoingServerSession.java:253)
at org.jivesoftware.openfire.session.LocalOutgoingServerSession.authenticateDomain (LocalOutgoingServerSession.java:144)
at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.sendPa cket(OutgoingSessionPromise.java:239)
at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(Ou tgoingSessionPromise.java:216)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

Those two are repeated a few times. I’m guessing those are people in my roster whos sever is down.

There are a few warnings:

2009.08.09 12:40:15 Closing session due to incorrect hostname in stream header. Host: broadcast.feline-soul.net. Connection: org.jivesoftware.openfire.net.SocketConnection@2e888d65 socket: Socket[addr=/127.0.0.1,port=53202,localport=5269] session: null
2009.08.09 16:53:23 Closing session due to incorrect hostname in stream header. Host: broadcast.feline-soul.net. Connection: org.jivesoftware.openfire.net.SocketConnection@7c271d34 socket: Socket[addr=/127.0.0.1,port=47437,localport=5269] session: null
2009.08.09 17:00:52 Closing session due to incorrect hostname in stream header. Host: broadcast.feline-soul.net. Connection: org.jivesoftware.openfire.net.SocketConnection@42433333 socket: Socket[addr=/127.0.0.1,port=45169,localport=5269] session: null

My start up under info looks fine:

2009.08.09 12:39:22 Publish-Subscribe domain: pubsub.feline-soul.net
2009.08.09 12:39:22 Multi User Chat domain: clowder.feline-soul.net
2009.08.09 12:39:22 Openfire 3.6.4 [Aug 9, 2009 1:39:22 PM]
2009.08.09 12:39:23 Admin console listening at:
http://feline-soul.net:9090
https://feline-soul.net:9091
2009.08.09 12:39:24 Starting transport service: aim
2009.08.09 12:39:24 Starting transport service: irc
2009.08.09 12:39:24 Starting transport service: msn
2009.08.09 12:39:24 Starting transport service: yahoo
2009.08.09 12:39:25 Started server (unencrypted) socket on port: 5269
2009.08.09 12:39:25 Started component (unencrypted) socket on port: 5275
2009.08.09 12:39:25 Started plain (unencrypted) socket on port: 5222
2009.08.09 12:39:25 Started SSL (encrypted) socket on port: 5223

Any clues? What shall i try? Any more info needed?

Thank you.

Is there a firewall on the machine with Openfire? Maybe you can disable it temporary. Also, about the hostname error. Have you changed the name of the machine with Openfire? What if other users try to login using your machine’s IP address?

check your DNS server. Make sure you are resolving the name of the server correctly.

Thanks for the suggestions folks. I’ve ben messing with it here and there. Turns out upgrading from jdk 6u14 to 6u16 did the trick.

Much appreciated.