<p>I have a daemonset configuration that runs on all nodes.
every pod listens on port 34567. I want from other pod on different node to communicate with this pod. how can I achieve that?</p>

Andy Drew Obruchkov
<p>Find the target Pod's IP address as shown below</p>
<pre><code>controlplane $ k get po -o wide
NAME                                       READY   STATUS    RESTARTS   AGE     IP            NODE           NOMINATED NODE   READINESS GATES
coredns-fb8b8dccf-42pq8                    1/1     Running   1          5m43s   10.88.0.4     node01         &lt;none&gt;           &lt;none&gt;
coredns-fb8b8dccf-f9n5x                    1/1     Running   1          5m43s   10.88.0.3     node01         &lt;none&gt;           &lt;none&gt;
etcd-controlplane                          1/1     Running   0          4m38s   172.17.0.23   controlplane   &lt;none&gt;           &lt;none&gt;
katacoda-cloud-provider-74dc75cf99-2jrpt   1/1     Running   3          5m42s   10.88.0.2     node01         &lt;none&gt;           &lt;none&gt;
kube-apiserver-controlplane                1/1     Running   0          4m33s   172.17.0.23   controlplane   &lt;none&gt;           &lt;none&gt;
kube-controller-manager-controlplane       1/1     Running   0          4m45s   172.17.0.23   controlplane   &lt;none&gt;           &lt;none&gt;
kube-keepalived-vip-smkdc                  1/1     Running   0          5m27s   172.17.0.26   node01         &lt;none&gt;           &lt;none&gt;
kube-proxy-8sxkt                           1/1     Running   0          5m27s   172.17.0.26   node01         &lt;none&gt;           &lt;none&gt;
kube-proxy-jdcqc                           1/1     Running   0          5m43s   172.17.0.23   controlplane   &lt;none&gt;           &lt;none&gt;
kube-scheduler-controlplane                1/1     Running   0          4m47s   172.17.0.23   controlplane   &lt;none&gt;           &lt;none&gt;
weave-net-8cxqg                            2/2     Running   1          5m27s   172.17.0.26   node01         &lt;none&gt;           &lt;none&gt;
weave-net-s4tcj                            2/2     Running   1          5m43s   172.17.0.23   controlplane   &lt;none&gt;           &lt;none&gt;
</code></pre>
<p>Next &quot;exec&quot; into the originating pod - kube-proxy-8sxkt in my example</p>
<pre><code>kubectl -n kube-system exec -it kube-proxy-8sxkt sh
</code></pre>
<p>Next, you will use the destination pod's IP and port (10256 - my example) number to connect. Please note that you may have to install curl/telnet if your originating container's image does not include the application</p>
<pre><code># curl telnet://172.17.0.23:10256

HTTP/1.1 400 Bad Request
Content-Type: text/plain; charset=utf-8
Connection: close
</code></pre>
