繁体   English   中英

运行Autobahn rpc示例时出现ConnectionRefusedError异常

[英]ConnectionRefusedError exception when running Autobahn rpc example

我想在运气不好的情况下在python中运行AutobahnPython slowsquare rpc示例

当运行上面的脚本时,我得到

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的使用没有太多经验,但我有些卡住。 我尝试使用网络套接字的其他示例运行良好。

我在Windows 7上使用python 2.7。谢谢。

我已经看到Autobahn框架的开发人员推荐了以下内容:

pip install crossbar
cd $HOME/mynode
crossbar init
crossbar start

这是有关您的问题的主题: 高速公路Google组

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM