Can't access RabbitMQ Web Service from another Web Service (Spring Boot app)

Hello,
I deployed a RabbitMQ instance as a web service following this guide: Deploy RabbitMQ | Render · Cloud Hosting for Developers.

As far as I understand it, it should expose its 5672 port for TCP connections to other render services under the hostname ‘rabbitmq-12345’, if it’s running on ‘rabbitmq-12345.onrender.com’.

However, when trying to connect to rabbitmq-12345:5672 from a Spring Boot app (another web service on render using docker) it fails with a UnknownHostException : Name or service not known.

What am I doing wrong here?
Thanks for your help.

Hi there,

Thanks for reaching out.

Is the service free? Free services don’t expose internal networking.

Alan

Yes, it is a free service.
Alright, I guess it isn’t possible to do this with free web services then.

Thanks for the reply.