相关疑难解决方法(0)

客户端无法连接到本地主机上的 RabbitMQ 服务器

我通过 apt-get 在 ubuntu 12.04.2 LTS 上安装了新的 RabbitMQ 3.1.3,并尝试在同一台服务器上启动消费者,但我遇到了连接问题:

[PhpAmqpLib\Exception\AMQPRuntimeException]         
Error Connecting to server(113): No route to host
Run Code Online (Sandbox Code Playgroud)

有工作服务器的状态:

Status of node rabbit@ns1 ...
[{pid,2106},
 {running_applications,[{rabbit,"RabbitMQ","3.1.3"},
                        {mnesia,"MNESIA  CXC 138 12","4.5"},
                        {os_mon,"CPO  CXC 138 46","2.2.7"},
                        {xmerl,"XML parser","1.2.10"},
                        {sasl,"SASL  CXC 138 11","2.1.10"},
                        {stdlib,"ERTS  CXC 138 10","1.17.5"},
                        {kernel,"ERTS  CXC 138 10","2.14.5"}]},
 {os,{unix,linux}},
 {erlang_version,"Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:4:4] [rq:4] [async-threads:30] [kernel-poll:true]\n"},
 {memory,[{total,27728944},
          {connection_procs,2704},
          {queue_procs,5408},
          {plugins,0},
          {other_proc,9021680},
          {mnesia,60016},
          {mgmt_db,0},
          {msg_index,31144},
          {other_ets,770736},
          {binary,1968},
          {code,14560395},
          {atom,1356081},
          {other_system,1918812}]},
 {vm_memory_high_watermark,0.4},
 {vm_memory_limit,1262847590},
 {disk_free_limit,1000000000},
 {disk_free,214706556928},
 {file_descriptors,[{total_limit,924},
                    {total_used,3},
                    {sockets_limit,829},
                    {sockets_used,1}]},
 {processes,[{limit,1048576},{used,125}]}, …
Run Code Online (Sandbox Code Playgroud)

php ubuntu rabbitmq symfony ubuntu-12.04

5
推荐指数
1
解决办法
3万
查看次数

标签 统计

php ×1

rabbitmq ×1

symfony ×1

ubuntu ×1

ubuntu-12.04 ×1