Accessing rabbitmq server by a client sitting behind a corporate firewall

477 views
Skip to first unread message

Arjun Assi

unread,
Mar 23, 2017, 4:55:36 PM3/23/17
to rabbitmq-users
Hi folks,

I have a hosted a rabbitmq server with a public IP.
It is SSL enabled and is listening on port 5145.

I have a Java client that uses connection factory to create a connection to this rabbitMQ server.
When I create the connection object, I specify the public IP and port as host and port to create the connection in my code.
Whenever I have machines that have a open public internet connection, the devices easily connect and are able to send and receive messages to/from the server.

However when I have a device that is sitting in a corporate network, I cannot even telnet this public IP and port. !!
How do it tackle this problem? How do I make them connect to the rabbitMQ server.
How can I do this from the Java client?
Do I need to make changes to my server? Or change the way the client connects?.

Thanks and Regards,
Arjun

Arjun Assi

unread,
Mar 24, 2017, 4:07:42 AM3/24/17
to rabbitmq-users
Hi,

Do I need to provide any additional details to get a response on this thread. ?
I would really appreciate if someone can guide me on this situation.

Thank and Regards,
Arjun

Fredrik Sörensson

unread,
Mar 24, 2017, 4:33:40 AM3/24/17
to rabbitm...@googlegroups.com

Hello.

 

From what you describe it looks like an infrastructure/firewall issue, not specifically a RabbitMQ issue. I’m guessing the corporate firewall is blocking your connection attempt. If corporate policies allow you may be able to raise a support request to get firewall techs to open a hole in the firewalls for you. There really isn’t more the list can do for you.

 

/Fredrik

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Arjun Assi

unread,
Mar 24, 2017, 5:18:35 AM3/24/17
to rabbitm...@googlegroups.com
Hello,

Thanks for the reply.
This is exactly what I wanted to know. Whether I need to talk to the client's IT to allow the traffic to our port. Your answer clarifies that..
Appreciate it.


Thanks and regards, 
Arjun


You received this message because you are subscribed to a topic in the Google Groups "rabbitmq-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rabbitmq-users/KhltpWlsEPc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rabbitmq-user...@googlegroups.com.

Arjun Assi

unread,
Mar 29, 2017, 10:42:26 PM3/29/17
to rabbitmq-users
Hi,

A follow up question on this thread. Assume that I cannot go through the hassle of getting the client IT to allow traffic to our IP and port,
would you say that the choice of exposing the public rabbitMQ IP and port is the best design for my use case.
Here is what I want to achieve. We have built an IoT platform and the backbone of our product is RabbitMQ.
We use it extensively for 2 major tasks:

1. Heartbeats from the client device to keep track whether they are connected to our platform
2. Sending high frequency messages between the device and our platform

Till this point we were only connecting to devices connected to a open wifi or public internet and this design was working pretty OK.
However, now we are kinda in a fix.

I guess my questions to you guys are:

A) I have used and tested the https api to rabbitMQ to push and poll messages. But the official documentation itself says that it should only be used for small payloads and testing purposes.
We have heavy payloads and very fast transmission to our devices. Is using https api the only way through to talk between the server and client in such a configuration?

B) If I do not use rabbitMQ https requests, is it mandatory for the client to always put a rule in their firewall to allow outgoing traffic to our Rabbitmq server. Is there no other way around ?

Please do let me know if I need to elaborate on this.
Would like to hear Michael's thoughts on the same too. :)

Regards,
Arjun

To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.


To post to this group, send email to rabbitmq-users@googlegroups.com.


For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "rabbitmq-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rabbitmq-users/KhltpWlsEPc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages