ng serve other port code example Example 1: angular ng serve with custom port ng serve --port 4401 Example 2: how to use another port in angular ng serve --port 4300