Quantcast
Channel: User blacktide - Stack Overflow
Viewing all articles
Browse latest Browse all 49

Answer by blacktide for Kubernetes deployment error with Java/Micronaut: ERR_CONNECTION_REFUSED

$
0
0

server running

Your Dockerfile is exposing port 8002 (EXPOSE 8002), but your app is started on port 8080.

Additionally, your Kubernetes configuration is pointing to port 80 of your pod.

You should set it so that all three configurations use the same port.


Viewing all articles
Browse latest Browse all 49

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>