<p>I have deployed my K8s cluster in <strong>CentOS</strong> which consists of 1 Master and 2 Nodes. I am exposing my services to the external world using NodePort. My service is -</p>
<pre><code>---
apiVersion: v1
kind: Service
metadata:
  name: atcapi
  namespace: default
spec:
  selector:
    app: atcapi
  type: NodePort
  ports:
  - name: atcapi-http
    port: 57124
    targetPort: 80
    nodePort: 32510
    protocol: TCP
...
</code></pre>
<p>I am able to connect to the service using my worker node ip and NodePort but not using Master Node IP and NodePort.</p>

Raj
<p>Not sure why you want to access service with <strong>Master IP</strong>.</p>
<p>i think it's expected only because <strong>master</strong> for managing the <strong>cluster</strong> not should be used for exposing the services.</p>
<p>You can setup the <strong>Ingress</strong> or <strong>service mesh</strong> to expose the service or Use <strong>Node port</strong> service with <strong>worker node IP</strong>.</p>
<p>Still, you are looking for that check your <strong>IP table &amp; Firewall</strong> rules those might could be blocking your traffic.</p>
