-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
if you want dev by ip, please set host: '0.0.0.0',没有用。 #1354
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
Comments
你重启过服务么? |
是的,重启过, |
服务启动成功了么,我刚刚在我机器上(mac)上试了下没啥问题。 |
devServer: {
contentBase: '.',
host: '0.0.0.0',
port: 3000,
disableHostCheck: true
}, 或者去这个issue里面找找问题 我这里不能重现,所以也实在是帮不了你什么。 |
我找到问题所在了, |
感谢你的回答,之后用vue-cli@3.0了,就不会有这个这问题了。 |
然后浏览器将会打开在: 'http://0.0.0.0:9527/'.
但是 0.0.0.0 是无法访问的。
The text was updated successfully, but these errors were encountered: