<p>In my Kubernetes environment I have following to pods running</p>

<pre><code>NAME                                           READY     STATUS    RESTARTS   AGE       IP             NODE
httpd-6cc5cff4f6-5j2p2                         1/1       Running   0          1h        172.16.44.12   node01
tomcat-68ccbb7d9d-c2n5m                        1/1       Running   0          45m       172.16.44.13   node02
</code></pre>

<p>One is a Tomcat instance and other one is a Apache instance.</p>

<p>from <code>node01</code> and <code>node02</code> I can curl the httpd which is using port <code>80</code>. But If i curl the tomcat server which is running on <code>node2</code> from <code>node1</code> it fails. I get below output.</p>

<pre><code>[root@node1~]# curl -v 172.16.44.13:8080
* About to connect() to 172.16.44.13 port 8080 (#0)
*   Trying 172.16.44.13...
* Connected to 172.16.44.13 (172.16.44.13) port 8080 (#0)
&gt; GET / HTTP/1.1
&gt; User-Agent: curl/7.29.0
&gt; Host: 172.16.44.13:8080
&gt; Accept: */*
&gt;
^C
[root@node1~]# wget -v 172.16.44.13:8080
--2019-01-16 12:00:21--  http://172.16.44.13:8080/
Connecting to 172.16.44.13:8080... connected.
HTTP request sent, awaiting response...
</code></pre>

<p>But I'm able telnet to port <code>8080</code> on <code>172.16.44.13</code> from <code>node1</code></p>

<pre><code>[root@node1~]# telnet 172.16.44.13 8080
Trying 172.16.44.13...
Connected to 172.16.44.13.
Escape character is '^]'.
^]
telnet&gt;
</code></pre>

<p>Any reason for this behavior? why am I able to telnet but unable to get the web content? I have also tried different ports but curl is working only for port 80.</p>

<p>I was able to get this fixed by disabling <code>selinux</code> on my nodes.</p>
