{"action":"created","issue":{"url":"https://api.github.com/repos/videlalvaro/php-amqplib/issues/263","labels_url":"https://api.github.com/repos/videlalvaro/php-amqplib/issues/263/labels{/name}","comments_url":"https://api.github.com/repos/videlalvaro/php-amqplib/issues/263/comments","events_url":"https://api.github.com/repos/videlalvaro/php-amqplib/issues/263/events","html_url":"https://github.com/videlalvaro/php-amqplib/issues/263","id":66520630,"number":263,"title":"Connection problem using php-amqplib","user":{"login":"shinz90","id":11812515,"avatar_url":"https://avatars.githubusercontent.com/u/11812515?v=3","gravatar_id":"","url":"https://api.github.com/users/shinz90","html_url":"https://github.com/shinz90","followers_url":"https://api.github.com/users/shinz90/followers","following_url":"https://api.github.com/users/shinz90/following{/other_user}","gists_url":"https://api.github.com/users/shinz90/gists{/gist_id}","starred_url":"https://api.github.com/users/shinz90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shinz90/subscriptions","organizations_url":"https://api.github.com/users/shinz90/orgs","repos_url":"https://api.github.com/users/shinz90/repos","events_url":"https://api.github.com/users/shinz90/events{/privacy}","received_events_url":"https://api.github.com/users/shinz90/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-06T04:01:01Z","updated_at":"2015-04-17T18:38:38Z","closed_at":"2015-04-17T18:38:38Z","body":"When trying to access the rabbitmq from client side and it return 500 internal server error.\r\nHere the error log. How to resolve the problem like this?\r\n\r\nError log :   \r\nPHP Fatal error:  Uncaught exception 'PhpAmqpLib\\\\Exception\\\\AMQPRuntimeException' with message 'Error Connecting to server(13): Permission denied ' in /var/www/html/mydir/vendor/videlalvaro/php-amqplib/PhpAmqpLib/Wire/IO/StreamIO.php:27\\nStack trace:\\n#0 /var/www/html/mydir/vendor/videlalvaro/php-amqplib/PhpAmqpLib/Connection/AMQPStreamConnection.php(21): PhpAmqpLib\\\\Wire\\\\IO\\\\StreamIO->__construct('ip adress', 15672, 3, 3, NULL)\\n#1 /var/www/html/mydir/send.php(13): PhpAmqpLib\\\\Connection\\\\AMQPStreamConnection->__construct('ip address', 15672, 'guest', 'guest')\\n#2 {main}\\n  thrown in /var/www/html/mydir/vendor/videlalvaro/php-amqplib/PhpAmqpLib/Wire/IO/StreamIO.php on line 27"},"comment":{"url":"https://api.github.com/repos/videlalvaro/php-amqplib/issues/comments/94048228","html_url":"https://github.com/videlalvaro/php-amqplib/issues/263#issuecomment-94048228","issue_url":"https://api.github.com/repos/videlalvaro/php-amqplib/issues/263","id":94048228,"user":{"login":"videlalvaro","id":30834,"avatar_url":"https://avatars.githubusercontent.com/u/30834?v=3","gravatar_id":"","url":"https://api.github.com/users/videlalvaro","html_url":"https://github.com/videlalvaro","followers_url":"https://api.github.com/users/videlalvaro/followers","following_url":"https://api.github.com/users/videlalvaro/following{/other_user}","gists_url":"https://api.github.com/users/videlalvaro/gists{/gist_id}","starred_url":"https://api.github.com/users/videlalvaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/videlalvaro/subscriptions","organizations_url":"https://api.github.com/users/videlalvaro/orgs","repos_url":"https://api.github.com/users/videlalvaro/repos","events_url":"https://api.github.com/users/videlalvaro/events{/privacy}","received_events_url":"https://api.github.com/users/videlalvaro/received_events","type":"User","site_admin":false},"created_at":"2015-04-17T18:38:38Z","updated_at":"2015-04-17T18:38:38Z","body":"You are trying to connect to RabbitMQ using HTTP port 15672, but RabbitMQ's AMQP port is 5672. Please change that in your code."}}