connect RabbitMQ hosted on AWS EC2 instance

ajaysh
Databricks Partner

We are facing an issue. We created a cluster "dev_cluster_catalog_support" . When we are using compute policy "unrestricted" we are able to connect RabbitMQ hosted on AWS EC2 instance, but when we change the compute policy "Shared Compute" getting error "connection refused".

any suggestion or step to resolve above issue.