I have installed rabbitMQ server and couldn't connect it

3,450 views
Skip to first unread message

pa...@excellenceinfonet.com

unread,
Nov 1, 2014, 7:16:34 AM11/1/14
to rabbitm...@googlegroups.com
I have installed server on windows  and I want to access its UI in browser 192.168.1.61:5672 but I see this error message, Please let me know what am I doing wrong?


=INFO REPORT==== 1-Nov-2014::16:30:32 ===
accepting AMQP connection <0.292.0> (192.168.1.61:50094 -> 192.168.1.61:5672)

=ERROR REPORT==== 1-Nov-2014::16:30:32 ===
closing AMQP connection <0.292.0> (192.168.1.61:50094 -> 192.168.1.61:5672):
{bad_header,<<"GET / HT">>}


extra info:

C:\Program Files (x86)\RabbitMQ Server\rabbitmq_server-3.4.1\sbin>rabbitmqctl status
Status of node rabbit@HHAWI0061 ...
[{pid,632},
 {running_applications,[{rabbit,"RabbitMQ","3.4.1"},
                        {os_mon,"CPO  CXC 138 46","2.3"},
                        {mnesia,"MNESIA  CXC 138 12","4.12.3"},
                        {xmerl,"XML parser","1.3.7"},
                        {sasl,"SASL  CXC 138 11","2.4.1"},
                        {stdlib,"ERTS  CXC 138 10","2.2"},
                        {kernel,"ERTS  CXC 138 10","3.0.3"}]},
 {os,{win32,nt}},
 {erlang_version,"Erlang/OTP 17 [erts-6.2] [64-bit] [smp:4:4] [async-threads:30]
\n"},
 {memory,[{total,35378400},
          {connection_readers,0},
          {connection_writers,0},
          {connection_channels,0},
          {connection_other,2704},
          {queue_procs,2704},
          {queue_slave_procs,0},
          {plugins,0},
          {other_proc,13654536},
          {mnesia,61992},
          {mgmt_db,0},
          {msg_index,47104},
          {other_ets,840416},
          {binary,29152},
          {code,16425925},
          {atom,561761},
          {other_system,3752106}]},
 {alarms,[]},
 {listeners,[{clustering,25672,"::"},{amqp,5672,"::"},{amqp,5672,"0.0.0.0"}]},
 {vm_memory_high_watermark,0.4},
 {vm_memory_limit,1683152896},
 {disk_free_limit,50000000},
 {disk_free,118637211648},
 {file_descriptors,[{total_limit,8092},
                    {total_used,4},
                    {sockets_limit,7280},
                    {sockets_used,2}]},
 {processes,[{limit,1048576},{used,132}]},
 {run_queue,0},
 {uptime,290}]

Michael Klishin

unread,
Nov 1, 2014, 8:05:22 AM11/1/14
to rabbitm...@googlegroups.com, pa...@excellenceinfonet.com
On 1 November 2014 at 14:18:43, pa...@excellenceinfonet.com (pa...@excellenceinfonet.com) wrote:
> =INFO REPORT==== 1-Nov-2014::16:30:32 ===
> accepting AMQP connection <0.292.0> (192.168.1.61:50094
> -> 192.168.1.61:5672)
>
> =ERROR REPORT==== 1-Nov-2014::16:30:32 ===
> closing AMQP connection <0.292.0> (192.168.1.61:50094 ->
> 192.168.1.61:5672):
> {bad_header,<<"GET / HT ">>}

You are trying to connect to port 5672 with an HTTP client (e.g. a Web browser).
5672 is for "regular" RabbitMQ clients. Management UI uses port 15672.
--
MK

Staff Software Engineer, Pivotal/RabbitMQ

Michael Klishin

unread,
Nov 3, 2014, 4:26:40 AM11/3/14
to Parag Bhayani, rabbitm...@googlegroups.com
 On 3 November 2014 at 07:55:57, Parag Bhayani (pa...@excellenceinfonet.com) wrote:
> Couldn't connect on http://192.168.1.61:15672/ aswell

We can't suggest anything with this much information. Make sure that RabbitMQ
actually listens on that IP/interface, the port is not blocked and that RabbitMQ
is running.

Also, keep the mailing list on CC.

Michael Klishin

unread,
Nov 3, 2014, 5:43:05 AM11/3/14
to Parag Bhayani, rabbitm...@googlegroups.com
+rabbitmq-users

On 3 November 2014 at 13:38:32, Parag Bhayani (pa...@excellenceinfonet.com) wrote:

Parag,

Please do put rabbitmq-users on CC. 

> How/What more information is required?

At the very least, what error message your are seeing.

> 192.168.1.61 is My own IP Address, and I am trying to install broker
> on my windows7 machine

Make sure inbound connections on ports 5672, 15672, 5671 (TLS) are allowed
by your firewall settings. Also, you probably can just connect to 127.0.0.1
for development (which is less likely to be blocked by default firewall settings).

Parag Bhayani

unread,
Nov 3, 2014, 9:33:16 AM11/3/14
to Michael Klishin, rabbitm...@googlegroups.com
This command solved my problem, I forgot to install management plugins,
rabbitmq-plugins enable rabbitmq_shovel rabbitmq_management
Thanks for your support :)



Thanks :)

Regards,
Parag
Reply all
Reply to author
Forward
0 new messages