Can not connect to RabbitMQ hosted on Render

Hi,

I am trying to connect to my RabbitMQ server. The URI I am using is :
amqp://rabbitmq:<PasswordFromENV>@rabbitmq-rpeg.onrender.com:5672

The connection times out and nothing is being added to the queue. What am I doing wrong?

Hi there,

Thanks for reaching out.

Render Web Services only accept HTTP requests, so access to the RabbitMQ server with amqp:// would need to be done on the internal network.

If you’re following the Render RabbitMQ docs/example and using a Web Service, the default domain will be the management interface on https://rabbitmq-rpeg.onrender.com. The RabbitMQ server itself will be available on the internal hostname (remove onrender.com), e.g. amqp://rabbitmq:@rabbitmq-rpeg:5672 (amqp://rabbitmq:%3CPasswordFromENV%3E@rabbitmq-rpeg:5672)
If you’re using a Private Service, it will only be accessible on the internal hostname.

Internal hostnames are accessible by your other services in the same account/team and region.

Hope that helps

Alan

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.