[rabbitmq-discuss] Connecting to a remote rabbitmq server

Marco Mistroni mmistroni at gmail.com
Sat Feb 23 22:07:59 GMT 2013


HI all
 i followed the sender/receiver tutorial for connecting to a rabbitmq
server running on localhost

i have then installed rabbitmq on my VPS (Ubuntu server) and tried to run
sender.py but got hte following error

=INFO REPORT==== 23-Feb-2013::22:05:28 ===
accepted TCP connection on 0.0.0.0:5672 from 127.0.0.1:44821

=INFO REPORT==== 23-Feb-2013::22:05:28 ===
starting TCP connection <0.797.8> from 127.0.0.1:44821

=ERROR REPORT==== 23-Feb-2013::22:05:28 ===
exception on TCP connection <0.797.8> from 127.0.0.1:44821
{bad_header,<<65,77,81,80,0,0,9,1>>}


that sounds bizzarre because the rabbitmq server is running, as i can see
from the output of the command rabbitmqctl status

Status of node rabbit at worldcorpservices ...
[{running_applications,[{rabbit,"RabbitMQ","1.6.0"},
                        {mnesia,"MNESIA  CXC 138 12","4.4.10"},
                        {os_mon,"CPO  CXC 138 46","2.2.2"},
                        {sasl,"SASL  CXC 138 11","2.1.6"},
                        {stdlib,"ERTS  CXC 138 10","1.16.2"},
                        {kernel,"ERTS  CXC 138 10","2.13.2"}]},
 {nodes,[rabbit at worldcorpservices]},
 {running_nodes,[rabbit at worldcorpservices]}]
...done.


what am i doing wrong?  i am just using exactly the same sender.py as in
the tutorials

w/kindest regards
 marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130223/48aa634f/attachment.htm>


More information about the rabbitmq-discuss mailing list