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

Invalid Host header #5

Closed
yeezy58 opened this issue Apr 25, 2017 · 6 comments
Closed

Invalid Host header #5

yeezy58 opened this issue Apr 25, 2017 · 6 comments

Comments

@yeezy58
Copy link

yeezy58 commented Apr 25, 2017

antm-roadhog中本机访问localhost:8001没问题
想用手机测一测效果 在移动端输入本机ip 比如http://192.168.1.144:8001
页面出现的是Invalid Host header
请问什么原因会导致这种问题?

@paranoidjk
Copy link
Contributor

可能是你手机和PC不在同一个局域网,比如同一个wifi下。

@yeezy58
Copy link
Author

yeezy58 commented Apr 26, 2017

是在同一网段下的
在本机把localhost改为本机ip也会出现这种情况

@paranoidjk
Copy link
Contributor

除了 antm-roadhog 之外其他demo有这个问题么?

@yeezy58
Copy link
Author

yeezy58 commented Apr 26, 2017

我只测了antm-roadhogweb-dvajs
dva是正常的

估计是roadhog的问题 以前用dora没出现这类情况

@paranoidjk
Copy link
Contributor

抱歉,最近比较忙,可能没时间处理这个。
你可以研究下有解决方案欢迎给我们PR,也可以去roadhog 提个 issue。

@yeezy58
Copy link
Author

yeezy58 commented Apr 26, 2017

嗯好

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