<p>I am using <code>kubernetes</code> to deploy my application on <code>minikube</code>. After deploying using command</p>
<pre><code>minikube service helloworld-all-service --url
</code></pre>
<p>Which shows some <code>URL</code> to access the application. Something like</p>
<pre><code>http://192.168.49.2:32474
</code></pre>
<p>I was to access this application from a different machine on the same network. I tried <code>port-forwarding</code></p>
<pre><code>kubectl port-forward service/helloworld-all-service 8080:8080
</code></pre>
<p>This allowed me access application using <code>localhost:8080/myApp</code>. But when I tried using my system IP it didn't work <code>10.14.77.88:8080/myApp</code>. What am I doing wrong here</p>

Pranjal Doshi
<p>Normally the port is only bound to localhost, to make it also available on the external address you need to specify the bind address (0.0.0.0 binds to all interfaces on the machine):</p>
<pre><code>kubectl port-forward --address 0.0.0.0 service/helloworld-all-service 8080:8080
</code></pre>
