Sunday 30 April 2017

How to change the port for the npm run watch?

I am trying to watch the development using npm run watch. But it moved to http://localhost:3000 instead of http://localhost:8080. How to change this port 3000 to 8080? Because I am using the Tomcat server in 8080 port.

[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
 -----------------------------------------------------------------------



via K.Suthagar

No comments:

Post a Comment