Access remotely to a RabbitMQ instance inside a Vagrant machine

381 views
Skip to first unread message

TheAverangers

unread,
Jan 21, 2016, 4:22:57 AM1/21/16
to Vagrant
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. Why I can't reach the RabbitMQ web management console (installed on the guest machine) using browser installed on the host machine. 

PS: I've posted the same question inside RabbitMQ user group and none spot a problem with rabbit configuration.

Alvaro Miranda Aguilera

unread,
Jan 21, 2016, 4:46:14 AM1/21/16
to vagra...@googlegroups.com

On Thu, Jan 21, 2016 at 10:22 PM, TheAverangers <mariano....@gmail.com> wrote:
    config.vm.network "forwarded_port", guest: 15672, host: 15673, id: "rabbitmq"

Hello,

Have you try to disable the Windows Firewall on the VM?


Alvaro.

TheAverangers

unread,
Jan 21, 2016, 5:59:46 AM1/21/16
to Vagrant
Yes. Windows firewall is disabled.
Reply all
Reply to author
Forward
0 new messages