更改rabbitmq默认端口

时间:2014-06-26 23:01:58

标签: rabbitmq

我试图将rabbitmq更改为另一个端口,但是在某个低端口它无法启动。例如79或54或~300以下的任何端口。它可以在端口启动,即高于1000

Rabbitmq配置文件:

[{rabbit,[{loopback_users,[]},{tcp_listeners,[72]}]}].

捕获的tcp端口:

# netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   
tcp        0      0 127.0.0.1:3310              0.0.0.0:*                   LISTEN      9602/clamd          
tcp        0      0 0.0.0.0:80                  0.0.0.0:*                   LISTEN      10224/nginx         
tcp        0      0 0.0.0.0:4369                0.0.0.0:*                   LISTEN      1938/epmd           
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN      1073/sendmail       
tcp        0      0 0.0.0.0:50683               0.0.0.0:*                   LISTEN      7393/sshd           
tcp        0      0 0.0.0.0:25672               0.0.0.0:*                   LISTEN      29876/beam          
tcp        0      0 127.0.0.1:9000              0.0.0.0:*                   LISTEN      5206/php-fpm        
tcp        0      0 127.0.0.1:27017             0.0.0.0:*                   LISTEN      15475/mongod                  

日志:

#tailf /var/log/rabbitmq/startup_err 

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()

#tailf /var/log/rabbitmq/startup_log

   {bad_return,
       {{rabbit,start,[normal,[]]},
        {'EXIT',
            {rabbit,failure_during_boot,
                {could_not_start_tcp_listener,{"::",72}}}}}}}

0 个答案:

没有答案