Not able to connect to RabbitMQ using Php

Hi,

I’m trying to connect the RabbitMQ using php, and getting error. PhpAmqpLib\Exception\AMQPDataReadException: Error receiving data in /Users/surya/projects/rabbitmq/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Wire/IO/StreamIO.php:184

However, I’m able to connect to any other local instance/ docker instance using the same code. I’m following the guidelines present on the RabbitMQ Official Tutorials.
www.rabbitmq.com/tutorials/tutorial-one-php.html

What I can?
1. Telnet to the 5671 and 15671 Port. – Success.
2. Open the Management console using the UI and successful login.

Please let me know, incase any other information is required from my side.

Thanks,
Surya

Read more here: Source link