I have set a Nginx to listen on a port 8080 in files/etc/nginx/conf.d/default.conf by adding listen 8080; to the only one server block I h
8080
files/etc/nginx/conf.d/default.conf
listen 8080;