Nginx ingress controller with type: NodePort refused request from public IP

I change kube-apiserver nodeportrange into 80-32767 and set fixed nodePort for my ingress service and it works now.

Being that you are on AWS you can use their LoadBalancer, set up guide with nginx here.

I would avoid expanding the range like that, not sure what things might get overridden if all those ports are being consumed by nodeports.

1 Like

I would definitely avoid doing that. That is down in the privileged port range. I would follow @macintoshprime suggestion, or pursue other alternative means.

1 Like