[rabbitmq-discuss] Subscribe to remote rabbitmq queue
david.wragg at lshift.net
Wed Sep 9 11:01:39 BST 2009
Sridhar Raman <sridhar.raman at gmail.com> writes:
> Could it because port 5672 is not accessible from outside? In that case,
> how do I expose it?
> I tried iptables like this:
> *iptables -A INPUT -p tcp --dport 5672 -j ACCEPT*
> But still no luck. How do I configure rabbitmq to accept requests from
> external IPs?
Have you tried running your client program on the same machine as the
rabbitmq server? Does it work there?
If your program can connect locally, but not remotely, then it might
be an issue with firewall rules. How to fix this depends on your
operating system. Assuming you are on Linux, many distributions come
with higher-level tools than iptables to manage the firewall rules.
It might be worth pursuing your distribution's support channels to
find out more.
On the other hand, if you cannot even connect locally, then it is
likely to be an issue with the rabbitmq server itself. Paul's
suggestion of using netstat to check whether it is listening is a good
 David Wragg | mail: david.wragg at lshift.net
 Senior Developer | tel: +44 (0)20 7729 7060
  LShift Ltd | web: www.lshift.net
More information about the rabbitmq-discuss