我对如何在EC2实例上获取rabbitmq ip地址感到困惑。当我试图运行时
sudo rabbitmq-server
显示此错误
ERROR: node with name "rabbit" already running on "ip-123-213-44-444"
所以我假设为了访问rabbitmq服务器,它将是
http://123.213.44.444:5672
但我没有得到这个网页反对在localhost上运行
我甚至在EC2 ubuntu实例上运行rabbitmqctl status
,它显示了这个
{listeners,[{clustering,25672,"::"},{amqp,5672,"::"},{http,15672,"::"}]},
在localhost上会显示
{listeners,
[{clustering,25672,"::"},
{amqp,5672,"127.0.0.1"},
{stomp,61613,"::"},
{http,15672,"::"},
{mqtt,1883,"::"}]},
如何在EC2实例上获取rabbitmq服务器的ip地址,以便我可以开始使用它?