[vue]npm run dev只能localhost访问的解决方法 http://localhost:8081/ 可以。 http://130.51.23.12:8081/ 浏览器显示:130.51.23.12 拒绝了我们的连接请求。 解决: 改config/index.js host: '0.0.0.0',
转载于:https://my.oschina.net/u/2464371/blog/2962063
[vue]npm run dev只能localhost访问的解决方法 http://localhost:8081/ 可以。 http://130.51.23.12:8081/ 浏览器显示:130.51.23.12 拒绝了我们的连接请求。 解决: 改config/index.js host: '0.0.0.0',
转载于:https://my.oschina.net/u/2464371/blog/2962063