configure nginx for specific port code example
Example 1: angular ng serve with custom port
ng serve --port 4401
Example 2: chaneg default port on nginx
# systemctl restart nginx
# netstat -tlpn| grep nginx
# ss -tlpn| grep nginx
ng serve --port 4401
# systemctl restart nginx
# netstat -tlpn| grep nginx
# ss -tlpn| grep nginx