我在Ubuntu上安装了Punjab,它有一个apache并且是一个web 服务器。但是,当我启动页面http://mydomain:5280/xmpp-httpbind时, 我收到以下错误信息:
" Network Error (tcp_error)
communication error occurred: "Operation timed out
The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time."
twisted.log并没有说太多:
2011-08-12 10:02:33+0200 [-] Log opened.
2011-08-12 10:02:33+0200 [-] twistd 10.2.0 (/usr/bin/python 2.7.1) starting up.
2011-08-12 10:02:33+0200 [-] reactor class: twisted.internet.selectreactor.SelectReactor.
2011-08-12 10:02:33+0200 [-] twisted.web.server.Site starting on 5280
2011-08-12 10:02:33+0200 [-] Starting factory <twisted.web.server.Site instance at 0x19c0ef0>
punjab.tac文件中的重要设置是:
root.putChild('http-bind', resource.IResource(bosh))
site = server.Site(root)
application = service.Application("punjab")
internet.TCPServer(5280, site).setServiceParent(application)
我坐在公司代理人后面。这是什么原因?感谢 你的帮助!
/斯特拉