<p>root@k8s:/opt/k8s/kubernetes/cluster/ubuntu/binaries# ./kubectl logs jnlp-slave-1c45182a61</p>

<pre><code>Aug 16, 2016 6:56:38 AM hudson.remoting.jnlp.Main createEngine
INFO: Setting up slave: jnlp-slave-1c45182a61
Aug 16, 2016 6:56:38 AM hudson.remoting.jnlp.Main$CuiListener &lt;init&gt;
INFO: Jenkins agent is running in headless mode.
Aug 16, 2016 6:56:38 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Locating server among [http://jenkins_server_ip:8080]
Aug 16, 2016 6:56:38 AM hudson.remoting.jnlp.Main$CuiListener error
SEVERE: http://jenkins_server_ip:8080/tcpSlaveAgentListener/ is invalid: 404 Not Found
java.lang.Exception: http://jenkins_server_ip:8080/tcpSlaveAgentListener/ is invalid: 404 Not Found
        at hudson.remoting.Engine.run(Engine.java:215)
</code></pre>

<p>root@k8s:/opt/k8s/kubernetes/cluster/ubuntu/binaries# curl  <a href="http://jenkins_server_ip:8080/tcpSlaveAgentListener/" rel="noreferrer">http://jenkins_server_ip:8080/tcpSlaveAgentListener/</a></p>

<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/&gt;
&lt;title&gt;Error 404 Not Found&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;&lt;h2&gt;HTTP ERROR 404&lt;/h2&gt;
&lt;p&gt;Problem accessing /tcpSlaveAgentListener/. Reason:
&lt;pre&gt;    Not Found&lt;/pre&gt;&lt;/p&gt;&lt;hr&gt;&lt;i&gt;&lt;small&gt;Powered by Jetty://&lt;/small&gt;&lt;/i&gt;&lt;hr/&gt;

&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>Please check
<a href="http://jenkins_server_ip:8080/configureSecurity/" rel="noreferrer">http://jenkins_server_ip:8080/configureSecurity/</a></p>

<p><strong>[TCP port for JNLP slave agents]</strong> should <strong>NOT</strong> be [Disable]</p>
