hmr port angular code example Example 1: angular ng serve with custom port ng serve --port 4401 Example 2: angular serve open ng serve -o