title: Why can't I connect to pods through the port-forwarder?
body: <p><strong>UPDATE:</strong></p>
  <p>solved this by installing socat -</p>
  <pre><code>   sudo apt-get -y install socat
  </code></pre>
  <p>I'm trying to connect to pod I run within minikube through port-forwarder from another terminal, but get some error.</p>
  <p>My kubectl version -</p>
  <pre><code>Client Version: version.Info{Major:&quot;1&quot;, Minor:&quot;15&quot;, GitVersion:&quot;v1.15.3&quot;, GitCommit:&quot;2d3c76f9091b6bec110a5e63777c332469e0cba2&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2019-08-19T11:13:54Z&quot;, GoVersion:&quot;go1.12.9&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}
  
  Server Version: version.Info{Major:&quot;1&quot;, Minor:&quot;15&quot;, GitVersion:&quot;v1.15.2&quot;, GitCommit:&quot;f6278300bebbb750328ac16ee6dd3aa7d3549568&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2019-08-05T09:15:22Z&quot;, GoVersion:&quot;go1.12.5&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}
  </code></pre>
  <p>The YML file content -</p>
  <pre><code>apiVersion: v1
  kind: Pod
  metadata:
    name: kubia-manual
  spec:
    containers:
    - image: luksa/kubia
      name: kubia
      ports:
      - containerPort: 8080
        protocol: TCP
  </code></pre>
  <p>I ran -</p>
  <pre><code>kubectl create -f kubia-manual.yaml
  
  kubectl port-forward kubia-manual 8888:8080
  </code></pre>
  <p>and got -</p>
  <blockquote>
  <p>Forwarding from 127.0.0.1:8888 -&gt; 8080</p>
  <p>Forwarding from [::1]:8888 -&gt; 8080</p>
  </blockquote>
  <p>after I'm trying to connect to the pod from another terminal like that -</p>
  <pre><code>curl localhost:8888
  </code></pre>
  <p>I get in this terminal</p>
  <blockquote>
  <p>curl: (52) Empty reply from server</p>
  </blockquote>
  <p>And in the second terminal, where I ran the port-forward command I'm getting -</p>
  <blockquote>
  <p>Handling connection for 8888 E1020 14:55:35.817708    7075
  portforward.go:400] an error occurred forwarding 8888 -&gt; 8080: error
  forwarding port 8080 to pod
  253ecb3809333d7dbf7c54831ea12e1eee4f43c3107764ea8ad55f0cad06bc2c, uid
  : unable to do port forwarding: socat not found.</p>
  </blockquote>