RabbitMqBundle: Can't connect consumer to localhost RabbitMQ with --env=prod
I install rabbitMQ 3.1.3 on ubuntu 12.04 and started server without any configuration and try to start consumers, but it works only, when i use debug flag -d, like this php .../app/console rabbitmq:consumer -w -d consumer_name and not working on production server without -d and with --env=prod, return exception
[PhpAmqpLib\Exception\AMQPRuntimeException]
Error Connecting to server(110): Connection timed out
or
[PhpAmqpLib\Exception\AMQPRuntimeException]
Error Connecting to server(113): No route to host
Details and logs, see at stackoverflow
About this issue
- Original URL
- State: closed
- Created 11 years ago
- Comments: 18 (9 by maintainers)
Problem was fixed with reconfiguring listen address form 0.0.0.0:5672 to 127.0.0.1:5672 and small security fixes in OS.