【发布时间】:2017-05-01 05:10:04
【问题描述】:
我正在尝试使用npm run watch 观看开发。但它移至http://localhost:3000 而不是http://localhost:8080。如何将此端口3000更改为8080?
因为我在8080端口使用Tomcat服务器。
[BS] Proxying: http://localhost:8080
[BS] Access URLs:
-----------------------------------------------------------------------
Local: http://localhost:3000/server1/demo3/index.html
External: http://192.168.126.1:3000/server1/demo3/index.html
-----------------------------------------------------------------------
UI: http://localhost:3001
UI External: http://192.168.126.1:3001
-----------------------------------------------------------------------
【问题讨论】:
标签: angularjs node.js npm localhost