how to get access to my RabbitMQ from other PC

1,167 views
Skip to first unread message

qc.sof...@gmail.com

unread,
Nov 17, 2015, 6:15:24 AM11/17/15
to rabbitmq-users
Hi,
I have installed RabbitMQ 3.5.6 on FreeBSD 9.3 according to manuals i have found in he web. Got all the plugins installed. 
When i use tellnet on the pc where rmq is installed i got this
telnet localhost 5672
Connected to localhost.
Escape character is '^]'.
adjasd
AMQP    Connection closed by foreign host.

But i cant get connection to my  localhost 5672 from other computers. 
Please help.

Alvaro Videla

unread,
Nov 17, 2015, 6:31:56 AM11/17/15
to rabbitm...@googlegroups.com
If you are trying to connect as a guest user, see here: https://www.rabbitmq.com/access-control.html

--
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.

Tom Molesworth

unread,
Nov 17, 2015, 6:49:18 AM11/17/15
to rabbitm...@googlegroups.com
"localhost" is the local computer:

https://en.wikipedia.org/wiki/Localhost

If you're connecting from somewhere else, you'll need to use either the hostname or the IP address of the PC where RabbitMQ is installed. You may also need to allow access via the firewall.

Michael Klishin

unread,
Nov 17, 2015, 6:52:01 AM11/17/15
to rabbitm...@googlegroups.com
Your issue is not related to localhost.

"asjasd" is not what the server expects
from a connected client, so it closes TCP connection.

qc.sof...@gmail.com

unread,
Nov 17, 2015, 7:00:37 AM11/17/15
to rabbitmq-users
I do use the  IP address of the PC where RabbitMQ is installed in telet command - access denied.
All rules i firewall are set. I allowed  access to 15762 (web ui) port and 5762, 5761 ports as well.

вівторок, 17 листопада 2015 р. 13:49:18 UTC+2 користувач tom написав:

qc.sof...@gmail.com

unread,
Nov 17, 2015, 7:03:21 AM11/17/15
to rabbitmq-users
I can login to RabbitMQ web interface as admin from any pc. Just can get access to 5672 port from elsewhere.

вівторок, 17 листопада 2015 р. 13:31:56 UTC+2 користувач Alvaro Videla написав:

qc.sof...@gmail.com

unread,
Nov 17, 2015, 7:15:17 AM11/17/15
to rabbitmq-users
I know that i just was testing if connection  is awallyable

вівторок, 17 листопада 2015 р. 13:52:01 UTC+2 користувач Michael Klishin написав:

qc.sof...@gmail.com

unread,
Nov 17, 2015, 7:21:49 AM11/17/15
to rabbitmq-users
thnx all for the fast respond problem was in ipfw (wrong rules specified)
 
вівторок, 17 листопада 2015 р. 13:15:24 UTC+2 користувач qc.sof...@gmail.com написав:
Reply all
Reply to author
Forward
0 new messages