I tried to change port 80 to 81 in nginx.conf file but the sample site is not responding despite Listening to the 81 port. The example website only responds on port 80. May I know how can I run this nginx server on a different port than 80?
I have read but didn’t help me thanks. The weird is that ipadress:8080 is respond but domain is not responding expect if I use 80 port instead of any other such 8080 or 81.