PHP Client can't connect to RabbitMQ server on localhost -
OS : CentOS 6.4
I try to connect to RabitMQ server using PHP The client is doing the following,
$ connection = new AMQPConnection ('10.1.150.109 ', 5672,' guest ',' guest '); $ Channel = $ connection- & gt; Channel (); But when I run a script from the browser, gives me this, the exception is 'phpAmqpLib \ Exception \ AMQPRuntimeException' Error message (13): Connecting to server 'with message' permission denied '/var/www/html/event/vendor/videlalvaro/php-amqplib/PhpAmqpLib/Wire/IO/StreamIO.php27 at
netstat show this,
TCP 0 ::: 5672 ::: * LISTEN 10776 / beam
In this post, this man gives inherent answers, but he has not described the procedure he followed to fix this problem.
I thank you for any person who can help me in this regard.
What happens if you
telnet 10.1.150.109 5672 < / Code>
Comments
Post a Comment