rabbitmq 修改端口

在C:\Users\Administrator\AppData\Roaming\RabbitMQ

新建rabbitmq.config

修改为:45672

[ {
  rabbit,
//通讯端口 [ { tcp_listeners, [ {
"0.0.0.0" ,45672}] }] },{ rabbitmq_management,
//网页端口 [ { listener, [ {port ,
35672}, {ip , "0.0.0.0"}, {ssl,false} ] }] }].

 

进入rabbitmq安装目录下sbin

运行:

  rabbitmq-service stop

  rabbitmq-service remove

  rabbitmq-service install

  rabbitmq-service start

 

posted @ 2023-07-13 18:56  正怒月神  阅读(154)  评论(0编辑  收藏  举报