Rafael
Rafael

Reputation: 1223

How to open port on Azure Container Apps

We have created an Azure Container App which hosts a container for rabbitmq (docker.io/rabbitmq:latest), for this to work we need top expose port 5672 and 15672 (for dashboard). Is this possible, do we need to enable ssh first?

Upvotes: 7

Views: 9459

Answers (3)

Valentin Roche
Valentin Roche

Reputation: 424

For those still looking to do this, this is now possible to add additional TCP ports in an azure container app https://learn.microsoft.com/en-us/azure/container-apps/ingress-overview#additional-tcp-ports

It's in preview and there is some limitations but it's working.

Upvotes: 4

K.S.
K.S.

Reputation: 3189

This is now possible due to a new feature https://github.com/microsoft/azure-container-apps/issues/375.

With TCP sockets, you can set exposedPort.

Upvotes: 4

user793891
user793891

Reputation:

The Azure Container Apps ingress listens on port 443. You can map this to the port your container is listening on but there's no way to directly expose other ports. enter image description here

Upvotes: 2

Related Questions