赞
踩
RabbitMQ 节点绑定到端口(开放服务器 TCP 套接字)以接受客户端和 CLI 工具连接。 其他进程和工具(如 SELinux)可能会阻止 RabbitMQ 绑定到端口。当这种情况发生时, 节点将无法启动。
CLI 工具、客户端库和 RabbitMQ 节点也会打开连接(客户端 TCP 套接字)。 防火墙可以阻止节点和 CLI 工具相互通信。 请确保可访问以下端口:
可以将 RabbitMQ 配置为使用不同的端口和特定的网络接口。
命令:
rabbitmq-plugins list
可看到所有插件都未开启
C:\Users\Administrator>rabbitmq-plugins list Listing plugins with pattern ".*" ... Configured: E = explicitly enabled; e = implicitly enabled | Status: * = running on rabbit@WIN-8THBA9CFOI9 |/ [ ] rabbitmq_amqp1_0 3.13.0 [ ] rabbitmq_auth_backend_cache 3.13.0 [ ] rabbitmq_auth_backend_http 3.13.0 [ ] rabbitmq_auth_backend_ldap 3.13.0 [ ] rabbitmq_auth_backend_oauth2 3.13.0 [ ] rabbitmq_auth_mechanism_ssl 3.13.0 [ ] rabbitmq_consistent_hash_exchange 3.13.0 [ ] rabbitmq_event_exchange 3.13.0 [ ] rabbitmq_federation 3.13.0 [ ] rabbitmq_federation_management 3.13.0 [ ] rabbitmq_jms_topic_exchange 3.13.0 [ ] rabbitmq_management 3.13.0 [ ] rabbitmq_management_agent 3.13.0 [ ] rabbitmq_mqtt 3.13.0 [ ] rabbitmq_peer_discovery_aws 3.13.0 [ ] rabbitmq_peer_discovery_common 3.13.0 [ ] rabbitmq_peer_discovery_consul 3.13.0 [ ] rabbitmq_peer_discovery_etcd 3.13.0 [ ] rabbitmq_peer_discovery_k8s 3.13.0 [ ] rabbitmq_prometheus 3.13.0 [ ] rabbitmq_random_exchange 3.13.0 [ ] rabbitmq_recent_history_exchange 3.13.0 [ ] rabbitmq_sharding 3.13.0 [ ] rabbitmq_shovel 3.13.0 [ ] rabbitmq_shovel_management 3.13.0 [ ] rabbitmq_stomp 3.13.0 [ ] rabbitmq_stream 3.13.0 [ ] rabbitmq_stream_management 3.13.0 [ ] rabbitmq_top 3.13.0 [ ] rabbitmq_tracing 3.13.0 [ ] rabbitmq_trust_store 3.13.0 [ ] rabbitmq_web_dispatch 3.13.0 [ ] rabbitmq_web_mqtt 3.13.0 [ ] rabbitmq_web_mqtt_examples 3.13.0 [ ] rabbitmq_web_stomp 3.13.0 [ ] rabbitmq_web_stomp_examples 3.13.0 C:\Users\Administrator>
开启命令:
rabbitmq-plugins enable rabbitmq_management
命令执行后会开启
rabbitmq_management
,rabbitmq_management_agent
,rabbitmq_web_dispatch
等三个插件
C:\Users\Administrator>rabbitmq-plugins enable rabbitmq_management Enabling plugins on node rabbit@WIN-8THBA9CFOI9: rabbitmq_management The following plugins have been configured: rabbitmq_management rabbitmq_management_agent rabbitmq_web_dispatch Applying plugin configuration to rabbit@WIN-8THBA9CFOI9... The following plugins have been enabled: rabbitmq_management rabbitmq_management_agent rabbitmq_web_dispatch started 3 plugins. C:\Users\Administrator>
详细如下:
C:\Users\Administrator>rabbitmq-plugins list Listing plugins with pattern ".*" ... Configured: E = explicitly enabled; e = implicitly enabled | Status: * = running on rabbit@WIN-8THBA9CFOI9 |/ [ ] rabbitmq_amqp1_0 3.13.0 [ ] rabbitmq_auth_backend_cache 3.13.0 [ ] rabbitmq_auth_backend_http 3.13.0 [ ] rabbitmq_auth_backend_ldap 3.13.0 [ ] rabbitmq_auth_backend_oauth2 3.13.0 [ ] rabbitmq_auth_mechanism_ssl 3.13.0 [ ] rabbitmq_consistent_hash_exchange 3.13.0 [ ] rabbitmq_event_exchange 3.13.0 [ ] rabbitmq_federation 3.13.0 [ ] rabbitmq_federation_management 3.13.0 [ ] rabbitmq_jms_topic_exchange 3.13.0 [E*] rabbitmq_management 3.13.0 [e*] rabbitmq_management_agent 3.13.0 [ ] rabbitmq_mqtt 3.13.0 [ ] rabbitmq_peer_discovery_aws 3.13.0 [ ] rabbitmq_peer_discovery_common 3.13.0 [ ] rabbitmq_peer_discovery_consul 3.13.0 [ ] rabbitmq_peer_discovery_etcd 3.13.0 [ ] rabbitmq_peer_discovery_k8s 3.13.0 [ ] rabbitmq_prometheus 3.13.0 [ ] rabbitmq_random_exchange 3.13.0 [ ] rabbitmq_recent_history_exchange 3.13.0 [ ] rabbitmq_sharding 3.13.0 [ ] rabbitmq_shovel 3.13.0 [ ] rabbitmq_shovel_management 3.13.0 [ ] rabbitmq_stomp 3.13.0 [ ] rabbitmq_stream 3.13.0 [ ] rabbitmq_stream_management 3.13.0 [ ] rabbitmq_top 3.13.0 [ ] rabbitmq_tracing 3.13.0 [ ] rabbitmq_trust_store 3.13.0 [e*] rabbitmq_web_dispatch 3.13.0 [ ] rabbitmq_web_mqtt 3.13.0 [ ] rabbitmq_web_mqtt_examples 3.13.0 [ ] rabbitmq_web_stomp 3.13.0 [ ] rabbitmq_web_stomp_examples 3.13.0 C:\Users\Administrator>
开启后端管理功能后,可通过浏览器进行访问
默认用户名/密码:guest/guest
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。