Access RabbitMQ remotely

404 views
Skip to first unread message

MC

unread,
Jan 20, 2016, 12:08:03 PM1/20/16
to rabbitmq-users
I have created a Vagrant virtual machine using 
kensykora/windows_2012_r2_standard box, then I've installed RabbitMQ 3.5.4 (using Chocolatey: choco install rabbitmq -version 3.5.4 -y) and enabled the management rabbitmq-plugins enable rabbitmq_management. So far, so good.

So I've started a remote desktop session into the virtual machine and opened a browser to http://localhost:15672/, this will show RabbitMQ login page. And that's ok. 

Last step I created a forwarded port in the Vagrantfile:

    config.vm.network "forwarded_port", guest: 15672, host: 15673, id: "rabbitmq"

restarted the machine and everything seems OK. 

Alas, when I try to reach http://localhost:15673/ (from the host machine: note the number 3 at the end of port number) the request expire and goes time out. How can I solve this issue. How can I reach the RabbitMQ web management console (installed on the guest machine) using browser installed on the host machine. 

PS: Since I've read that guest user can't access remotely I've deleted this membership and created new user with administrative role but browser still goes timeout when I try to reach that port.

Michael Klishin

unread,
Jan 20, 2016, 3:21:59 PM1/20/16
to rabbitm...@googlegroups.com, MC
On 20 January 2016 at 20:08:05, MC (mariano....@gmail.com) wrote:
> Alas, when I try to reach http://localhost:15673/ (from the
> host machine: note the number 3 at the end of port number) the request
> expire and goes time out. How can I solve this issue. How can I reach
> the RabbitMQ web management console (installed on the guest
> machine) using browser installed on the host machine.

This is a Vagrant question, really. According to [1] your configuration looks fine.
Have you restarted the guest after applying it? 

> PS: Since I've read that guest user can't access remotely I've
> deleted this membership and created new user with administrative
> role but browser still goes timeout when I try to reach that port.

The fact that you wouldn't be able to log in using guest/guest on localhost
cannot affect TCP connections.

1. https://www.vagrantup.com/docs/networking/forwarded_ports.html
--
MK

Staff Software Engineer, Pivotal/RabbitMQ


Reply all
Reply to author
Forward
0 new messages