<p>I am setting up Traefik in my CentOS VM. I tried to port-forward as specified here:</p>
<p><a href="https://github.com/jakubhajek/traefik-workshop/tree/3cbbb3b8d3dbafcb2a56f3bb715fee41ba8ffe8b/exercise-2" rel="nofollow noreferrer">https://github.com/jakubhajek/traefik-workshop/tree/3cbbb3b8d3dbafcb2a56f3bb715fee41ba8ffe8b/exercise-2</a></p>
<p>It displays the following, taking hours, and does nothing:</p>
<pre><code>Forwarding from 127.0.0.1:9000 -&gt; 9000
Forwarding from [::1]:9000 -&gt; 9000
Handling connection for 9000
Handling connection for 9000
Handling connection for 9000
Handling connection for 9000
</code></pre>
<p>Please advise what I should do to make the <code>kubectl port-forward</code> work.</p>

<p>kubectl port-forward makes a specific Kubernetes API request. That means the system running it needs access to the API server, and any traffic will get tunneled over a single HTTP connection.</p>
<p>If it is saying 404 page not found, then probably there is something wrong with the deployment ( application ) as the port 9000 is listening and opened connection. So you can check whether you have done port-forwarding to the right pod or not.</p>
