diff --git a/fakerabbitmq/receiver.py b/fakerabbitmq/receiver.py index 5140be1..f8652d9 100644 --- a/fakerabbitmq/receiver.py +++ b/fakerabbitmq/receiver.py @@ -5,7 +5,7 @@ print(' Connecting to server ...') try: - connection = pika.BlockingConnection(pika.ConnectionParameters(host="141.145.217.120",port=5672)) + connection = pika.BlockingConnection(pika.ConnectionParameters(host="144.91.123.186",port=15672)) except pika.exceptions.AMQPConnectionError as exc: print("Failed to connect to RabbitMQ service. Message wont be sent.") exit() diff --git a/fakerabbitmq/sender.py b/fakerabbitmq/sender.py index 6c8e6b6..f4e61eb 100644 --- a/fakerabbitmq/sender.py +++ b/fakerabbitmq/sender.py @@ -10,7 +10,7 @@ print(' Connecting to server ...') try: - connection = pika.BlockingConnection(pika.ConnectionParameters(host="141.145.217.120",port=5672)) + connection = pika.BlockingConnection(pika.ConnectionParameters(host="144.91.123.186",port=15672)) except pika.exceptions.AMQPConnectionError as exc: print("Failed to connect to RabbitMQ service. Message wont be sent.") exit() diff --git a/fakerabbitmq/serverjs/index.js b/fakerabbitmq/serverjs/index.js index 8f47652..a867a0e 100644 --- a/fakerabbitmq/serverjs/index.js +++ b/fakerabbitmq/serverjs/index.js @@ -1,6 +1,6 @@ const amqp = require('amqplib'); -const rabbitMQUrl = 'amqp://141.145.217.120:5672'; +const rabbitMQUrl = 'amqp://144.91.123.186:15672'; const exchange = 'tasks'; const workerQueue = 'task_queue';