angular modify the port number port

Error:. Port 4200 is already in use Use '--port' to specify a different port.

Since 4200 the port is already in use, use a different "--port" modify the port number.

    Method 1: command

directly on the command: ng serve --port 4201

or simply: ng serve -p 4201

Guess you like

Origin www.cnblogs.com/luluping/p/11005352.html