Does the nginx “upstream” directive have a port setting?
in your upstream configuration you have ports defined ( 6666 and 9999 ), those are the ports your backend servers need to listen on the proxy_pass directive doesn’t need an additional port configuration in this case. Your nginx listens on port 81 which you’ve defined in the listen directive Is this what you tried to … Read more