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

绑定127.0.0.1的端口后,127.0.0.1下的其他php都没用了,html还能访问 #3

Closed
582302894 opened this issue Nov 27, 2017 · 1 comment

Comments

@582302894
Copy link

No description provided.

@zhenbianshu
Copy link
Owner

首先弄清这个 websocket 是个什么角色: 类似nginx(apache)。

ip和端口 来唯一标识一个服务。
它监听 127.0.0.1 的 8080 端口,nginx 监听 127.0.0.1 的 80 端口。
它只处理 127.0.0.1:8080/xxx.php 的请求, 而 nginx 处理 127.0.0.1/xxx.php html 请求。

所以,html 是由nginx/apache 来处理的,不是由这个后台脚本。

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