<p>In my <a href="https://docs.ovh.com/gb/en/kubernetes/" rel="nofollow noreferrer">OVH Managed Kubernetes</a> cluster I'm trying to expose a NodePort service, but it looks like the port is not reachable via <code>&lt;node-ip&gt;:&lt;node-port&gt;</code>.</p>
<p>I followed this tutorial: <a href="https://kubernetes.io/docs/tasks/access-application-cluster/service-access-application-cluster/#creating-a-service-for-an-application-running-in-two-pods" rel="nofollow noreferrer">Creating a service for an application running in two pods</a>. I can successfully access the service on <code>localhost:&lt;target-port&gt;</code> along with <code>kubectl port-forward</code>, but it doesn't work on <code>&lt;node-ip&gt;:&lt;node-port&gt;</code> (request timeout) (though it works from inside the cluster).</p>
<p>The tutorial says that I may have to &quot;create a firewall rule that allows TCP traffic on your node port&quot; but I can't figure out how to do that.</p>
<p>The security group seems to allow any traffic:</p>
<p><a href="https://i.stack.imgur.com/1AbNG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1AbNG.png" alt="enter image description here" /></a></p>

sdabet
<p>Well i can't help any further i guess, but i would check the following:</p>
<ol>
<li>Are you using the public node ip address?</li>
<li>Did you configure you service as Loadbalancer properly?
<a href="https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer" rel="nofollow noreferrer">https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer</a></li>
<li>Do you have a loadbalancer and set it up properly?</li>
<li>Did you install any Ingress controller? (ingress-nginx?) You may need to add a Daemonset for this ingress-controller to duplicate the ingress-controller pod on each node in your cluster</li>
</ol>
<p>Otherwise, i would suggest an Ingress, (if this works, you may exclude any firewall related issues).</p>
<p>This page explains very well:
<a href="https://stackoverflow.com/questions/41509439/whats-the-difference-between-clusterip-nodeport-and-loadbalancer-service-types?rq=1">What&#39;s the difference between ClusterIP, NodePort and LoadBalancer service types in Kubernetes?</a></p>
