【发布时间】:2015-03-20 16:29:31
【问题描述】:
我正在尝试在 python 中运行AutobahnPython slowsquare rpc example,但运气不佳。
当运行上面的脚本时,我得到了
Traceback (most recent call last):
File "C:\src\twisted-test\rpc_server.py", line 39, in <module>
runner.run(Component)
File "C:\Python27\lib\site-packages\autobahn\twisted\wamp.py", line 245, in run
raise connect_error.exception
twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 10061: No connection could be made because the target machine actively refused it..
一般来说,我对扭曲/高速公路和 websockets 没有太多经验,我有点卡住了。我尝试使用 web socket 的其他示例运行良好。
我在 Windows 7 上使用 python 2.7。谢谢。
【问题讨论】: