title: Unable to access to service from kubernetes master node
body: <pre><code>[root@kubemaster ~]# kubectl get pods -o wide
  NAME                             READY   STATUS    RESTARTS   AGE   IP             NODE          NOMINATED NODE   READINESS GATES
  pod1deployment-c8b9c74cb-hkxmq   1/1     Running   0          12s   192.168.90.1   kubeworker1   &lt;none&gt;           &lt;none&gt;
  
  [root@kubemaster ~]# kubectl logs pod1deployment-c8b9c74cb-hkxmq
  2020/05/16 23:29:56 Server listening on port 8080
  
  [root@kubemaster ~]# kubectl get service -o wide
  NAME          TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)   AGE   SELECTOR
  kubernetes    ClusterIP   10.96.0.1        &lt;none&gt;        443/TCP   13m   &lt;none&gt;
  pod1service   ClusterIP   10.101.174.159   &lt;none&gt;        80/TCP    16s   creator=sai
  </code></pre>
  
  <p>Curl on master node:</p>
  
  <pre><code>[root@kubemaster ~]# curl -m 2 -v -s http://10.101.174.159:80
  * About to connect() to 10.101.174.159 port 80 (#0)
  *   Trying 10.101.174.159...
  * Connection timed out after 2001 milliseconds
  * Closing connection 0
  </code></pre>
  
  <p>Curl on worker node 1 is sucessfull for cluster IP ( this is the node where pod is running )</p>
  
  <pre><code>[root@kubemaster ~]# ssh kubeworker1 curl -m 2 -v -s http://10.101.174.159:80
  Hello, world!
  Version: 1.0.0
  Hostname: pod1deployment-c8b9c74cb-hkxmq
  </code></pre>
  
  <p>Curl fails on other worker node as well :  </p>
  
  <pre><code>[root@kubemaster ~]# ssh kubeworker2 curl -m 2 -v -s http://10.101.174.159:80
  * About to connect() to 10.101.174.159 port 80 (#0)
  *   Trying 10.101.174.159...
  * Connection timed out after 2001 milliseconds
  * Closing connection 0
  </code></pre>