Can not send tasks to rabbitmq from outside the Fly network

The problem that I have is that I have Rabbitmq and Celery running on fly (versions and configs are below). Both of them deploy normally and without any problems, however when I send a task to Rabbitmq on fly using the public dedicated Ipv4 address I get the following error: “Server has closed the connection unexpectedly”.

Versions and configurations:
OS: Ubuntu 20.04.4 LTS
Rabbitmq version: 3.8.2
Celery version: 5.2.7

The fly.toml file for Rabbitmq:

app = “rabbitmqserver”
kill_signal = “SIGINT”
kill_timeout = 5
processes =


auto_rollback = true

http_checks =
internal_port = 5672
processes = [“app”]
protocol = “tcp”
script_checks =

handlers = [“tls”]
port = 5672

Can you provide a suitable configuration for Rabbitmq so that I can send tasks to it using it’s Ipv4 address?

Please see my config RabbitMQ on - #6 by paulwvnjohi