Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

服务端启动成功 客户端连不上 #11

Closed
wujunze opened this issue Jun 5, 2018 · 2 comments
Closed

服务端启动成功 客户端连不上 #11

wujunze opened this issue Jun 5, 2018 · 2 comments

Comments

@wujunze
Copy link

wujunze commented Jun 5, 2018

服务端启动成功 客户端连不上

用namp检查了端口是开放的

客户端报错

$ spike --config=./spike_conf/spike.json -vvv                                                                            [20:08:15]
[2018-06-05 20:08:21] INFO: The client is running ...
[2018-06-05 20:08:21] ERROR: Cannot connect to the server. the server may not be available
@slince
Copy link
Owner

slince commented Jun 6, 2018

如果要允许远程连接的话,服务端启动时绑定本地ip要设置为 0.0.0.0

@wujunze
Copy link
Author

wujunze commented Jun 6, 2018

OK 改成0.0.0.0 连接上了 Thanks @slince

@wujunze wujunze closed this as completed Jun 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants