<p><a href="https://i.stack.imgur.com/EKOoX.png" rel="nofollow noreferrer">Startup Logs of Pod</a>  I am not able to access a spring boot service on my minikube cluster.
On my local machine,I configured minikube cluster and built the docker image of my service. My service contains some simple REST endpoints.</p>

<p>I configured minikube to take my local docker image or should I say pull my docker image. But now when I do     </p>

<pre><code>kubectl get services -n istio-system
</code></pre>

<p>I get the below services
<a href="https://i.stack.imgur.com/BiBia.png" rel="nofollow noreferrer">kubectl get services|Services list in minkube cluster</a> | 
<a href="https://i.stack.imgur.com/yxHwn.png" rel="nofollow noreferrer">Kubectl get pods all namespaces</a> | <a href="https://i.stack.imgur.com/96QUs.png" rel="nofollow noreferrer">Kubectl describe service</a></p>

<p>I am trying to access my service through below command</p>

<p><code>minikube service producer-service --url
</code>
which gives <a href="http://192.168.99.100:30696" rel="nofollow noreferrer">http://192.168.99.100:30696</a></p>

<p>I have a ping URL in my service so ideally I should be getting response by hitting <a href="http://192.168.99.100:30696/ping" rel="nofollow noreferrer">http://192.168.99.100:30696/ping</a></p>

<p>I am not getting any response here. Can you guys please let me know what I am missing here?</p>

Abhilash Padhee
<p>The behaviour you describe would suggest a port mapping problem. Is your Spring boot service on the default port of 8080? Does the internal port of your Service match the port the Spring boot app is running on (it'll be in your app startup logs). The port in your screenshot seems to be 8899. It's also possible your pod is in a different namespace from your service. It would be useful to include your app startup logs and the output of 'kubectl get pods --all-namespaces', and 'kubectl describe service producer-service'.</p>
