RabbitMQ, trouble getting hello world example to work on anything but localhost

view full story

http://serverfault.com – I'm learning RabbitMQ and have run the hello world example at http://www.rabbitmq.com/tutorials/tutorial-one-python.html without problems on localhost. Now I want to test messaging from my PC to a different server, receive.py never seems to get any messages. Perhaps I'm not specifying the hostnames correctly? Receive.py: #!/usr/bin/env python import pika import json connection = pika.BlockingConnection(pika.ConnectionParameters( host='')) channel = connection.channel() channel.queue_declare(queue='hello') print ' [*] Waiting for messages. To exit press CTRL+C' def (HowTos)