go to /etc/nginx/sites-available then modify the host file which should listen to a different port (if you didn’t change anything here you will find a default file, enter to change it)
in the file change listen: 80 to the port you want to listen to
don’t forget to reload the service: service nginx reload