I've installed punjab with (python 2.7.2).
To further ensure SRV isn't the issue, I've included:
connect_srv = False
in punjab.tac.
The server seems to start fine, and I can access :5280/http-bind but any connection I try to make fails. It seems to be a DNS issue, but I've verified the server can see jabber.org (via ping). Here are logs from startup to attempting a login to a jabber.org account:
2012-02-19 21:10:21-0500 [-] Log opened.
2012-02-19 21:10:21-0500 [-] twistd 12.0.0 (/root/bin/python 2.7.2) starting up.
2012-02-19 21:10:21-0500 [-] reactor class: twisted.internet.pollreactor.PollReactor.
2012-02-19 21:10:21-0500 [-] Site starting on 5280
2012-02-19 21:10:21-0500 [-] Starting factory <twisted.web.server.Site instance at 0xb7813d4c>
2012-02-19 21:10:32-0500 [HTTPChannel,0,xx.xx.xx.110] xx.xx.xx.110 - - [20/Feb/2012:02:10:31 +0000] "OPTIONS /http-bind HTTP/1.1" 200 - "http://xmpp/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.53.11 (KHTML, like Gec
ko) Version/5.1.3 Safari/534.53.10"
2012-02-19 21:10:32-0500 [HTTPChannel,0,xx.xx.xx.110] /etc/resolv.conf changed, reparsing
2012-02-19 21:10:32-0500 [HTTPChannel,0,xx.xx.xx.110] Resolver added ('xx.xx.xx.129', 53) to server list
2012-02-19 21:10:32-0500 [HTTPChannel,0,xx.xx.xx.110] Resolver added ('xx.xx.xx.129', 53) to server list
2012-02-19 21:10:32-0500 [HTTPChannel,0,xx.xx.xx.110] DNSDatagramProtocol starting on 29018
2012-02-19 21:10:32-0500 [HTTPChannel,0,xx.xx.xx.110] Starting protocol <twisted.names.dns.DNSDatagramProtocol object at 0xb77bc16c>
2012-02-19 21:10:32-0500 [-] (UDP Port 29018 Closed)
2012-02-19 21:10:32-0500 [-] Stopping protocol <twisted.names.dns.DNSDatagramProtocol object at 0xb77bc16c>
2012-02-19 21:10:35-0500 [-] DNSDatagramProtocol starting on 36425
2012-02-19 21:10:35-0500 [-] Starting protocol <twisted.names.dns.DNSDatagramProtocol object at 0xb77bc62c>
2012-02-19 21:10:35-0500 [-] (UDP Port 36425 Closed)
2012-02-19 21:10:35-0500 [-] Stopping protocol <twisted.names.dns.DNSDatagramProtocol object at 0xb77bc62c>
2012-02-19 21:10:43-0500 [-] DNSDatagramProtocol starting on 33640
2012-02-19 21:10:43-0500 [-] Starting protocol <twisted.names.dns.DNSDatagramProtocol object at 0xb77bc50c>
2012-02-19 21:10:43-0500 [-] (UDP Port 33640 Closed)
2012-02-19 21:10:43-0500 [-] Stopping protocol <twisted.names.dns.DNSDatagramProtocol object at 0xb77bc50c>
2012-02-19 21:11:00-0500 [-] xx.xx.xx.110 - - [20/Feb/2012:02:10:59 +0000] "POST /http-bind HTTP/1.1" 200 105 "http://xmpp/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.53.11 (KHTML, like Gecko) Version/5.1.3 Safari/5
34.53.10"
I guess you need SRV records for your server.
Some general info here. A workaround if you use localhost without a proper DNS here.