急!手动组网添加默认账户时一直拒绝连接 8250
jiuhao666 opened this issue · 15 comments
jiuhao666 commented
kyonRay commented
是不是有多机部署?看看router是不是监听的是127.0.0.1
jiuhao666 commented
kyonRay commented
说明你的router没有部署在本地。是在其他机器中部署的。
要远程访问router必须要将router的RPC监听到0.0.0.0,例如:
[rpc] # rpc ip & port
address = '0.0.0.0' # router监听IP
port = 8250
caCert = 'classpath:ca.crt'
sslCert = 'classpath:ssl.crt'
sslKey = 'classpath:ssl.key'
sslSwitch = 2 # disable ssl:2, SSL without client auth:1 , SSL with client and server auth: 0
webRoot = 'classpath:pages'
mimeTypesFile = 'classpath:conf/mime.types' # set the content-types of a file
jiuhao666 commented
kyonRay commented
是不是修改之后wecross router没有启动?有按照下面的资料做吗?https://wecross.readthedocs.io/zh_CN/latest/docs/tutorial/deploy/basic_env.html#id4
jiuhao666 commented
是的。所有的步骤都是按照文档来进行的,但是就是拒绝访问,也查不到8250节点,好郁闷
kyonRay commented
如果telnet不通127.0.0.1 8250端口,那么就说明有以下几个可能:没有启动router、router IP端口不对。你可以看看demo中的部署脚本例子。
jiuhao666 commented
jiuhao666 commented
jiuhao666 commented
kyonRay commented
kyonRay commented
jiuhao666 commented
kyonRay commented