Soorya
Soorya

Reputation: 701

Connection Refused on Google Compute Engine (container)

I hosted a python app on the Google Compute Engine using the container. The container was working perfectly on the Google cloud run, but the server is refusing connection when it is hosted on Compute Engine.

My firewall config is: enter image description here

Docker file: enter image description here

wsgi.py file: enter image description here

Log: enter image description here Thanks in advance!

Upvotes: 0

Views: 500

Answers (1)

Toni
Toni

Reputation: 1354

In a summary, this got fixed over the time, as the container started ~10min after the instance is created.

SSH the container node, and running docker ps shows that the docker was running, and the application port (8080) was exposed.

Upvotes: 0

Related Questions