Specify port for ng serve

less than 1 minute read

Specify port for ng serve

You can specify the port using --port argument. Moreover, you can use ng serve --port 0 to auto assign an available port.

  ng serve --port 5050

Leave a comment