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

启动server和web-server后,局域网内不能登录? #14

Open
haua opened this issue Sep 23, 2014 · 9 comments
Open

启动server和web-server后,局域网内不能登录? #14

haua opened this issue Sep 23, 2014 · 9 comments

Comments

@haua
Copy link

haua commented Sep 23, 2014

在自己电脑用两个浏览器互相聊天是可以的,但是局域网内的电脑只能看到登录页,却登录不进来,flash版也是这样

@py8765
Copy link
Collaborator

py8765 commented Sep 24, 2014

检查一下web-server连的服务器地址

@haua
Copy link
Author

haua commented Sep 24, 2014

额,不是很懂你意思,flash那个,web-server的地址是我的内网ip+3001端口,flash从:3843拿到安全策略文件了,我看到服务端的console.log输出了。但是还是登录不了

@py8765
Copy link
Collaborator

py8765 commented Sep 25, 2014

web server里面不是有一个需要连接的gate服务器的地址吗? 这个没有写错吧

@haua
Copy link
Author

haua commented Sep 25, 2014

估计就是这个了~~~我就是不知道这个需要连接的gate服务器的地址在哪,可以告诉我具体是哪个文件吗?我是刚接触pomelo和nodejs,对这个了解的还是不够深入,拜托了~~~

@py8765
Copy link
Collaborator

py8765 commented Sep 26, 2014

web-server下面的client.js queryEntry方法

@haua
Copy link
Author

haua commented Sep 26, 2014

这里的服务器的地址是我的内网ip,192.168.199.155,那个...flash的话是可以在服务器输出看到是成功拿到安全策略文件的,所以估计这个ip没错的吧

@haua
Copy link
Author

haua commented Sep 26, 2014

我是说局域网中其它电脑能拿到我这边的安全策略文件

@aiex
Copy link

aiex commented Jun 30, 2015

修改chatofpomelo-websocket/game-server/config/servers.json,ip地址不要127.0.0.1

@haua
Copy link
Author

haua commented Jul 1, 2015

谢谢

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

3 participants