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

vue-cli can`t be run with ip adrees #652

Closed
zhenwoo opened this issue Nov 27, 2017 · 5 comments
Closed

vue-cli can`t be run with ip adrees #652

zhenwoo opened this issue Nov 27, 2017 · 5 comments

Comments

@zhenwoo
Copy link

zhenwoo commented Nov 27, 2017

A Vue project create by vue-cli can be run with 'localhot:8080' but can not be run with ip adrees, why?

@LinusBorg
Copy link
Member

what kind of IP address?

@zhenwoo
Copy link
Author

zhenwoo commented Nov 27, 2017

such as "http://192.168.1.101:8080"

@LinusBorg
Copy link
Member

localhost doesn't allow external access from our network. That'S why it's the default setting, it's secure.

Set the host to 0.0.0.0, then other computers in the network can access it via your local IP.

@fimars
Copy link

fimars commented Dec 8, 2017

webpack/webpack-dev-server#147

@lwxbr
Copy link

lwxbr commented Jul 15, 2019

Firewalls can be trouble too. I had to disable the Firewall of Windows to use that feature.

This issue was closed.
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

4 participants