无法通过ip访问Rabbitmq接口

无法通过ip访问Rabbitmq接口

我在 ubuntu 18.04 vps 下安装了 Rabbitmq,步骤如下

apt-get update
apt-get upgrade
apt-get install erlang
apt-get install rabbitmq-server
systemctl enable rabbitmq-server
systemctl start rabbitmq-server
systemctl status rabbitmq-server
rabbitmq-plugins enable rabbitmq_management

rabbitmqctl add_user admin admin
rabbitmqctl set_user_tags admin administrator
rabbitmqctl set_permissions -p / admin ".*" ".*" ".*"

但是当我尝试通过 Ip 访问接口时,却无法 http://82.165.112.22:15672

rabbitmq 服务器正在运行 rabbitmq 服务器正在运行

这是 curl -v 的输出http://82.165.112.22:15672

* Rebuilt URL to: http://82.165.112.22:15672/
*   Trying 82.165.112.22...
* TCP_NODELAY set
* Connected to 82.165.112.22 (82.165.112.22) port 15672 (#0)
> GET / HTTP/1.1
> Host: 82.165.112.22:15672
> User-Agent: curl/7.58.0
> Accept: */*
> 
< HTTP/1.1 200 OK
< accept-ranges: bytes
< content-length: 1367
< content-type: text/html  
< date: Mon, 02 Sep 2019 16:56:14 GMT
< etag: "3599625778"
< last-modified: Mon, 02 Sep 2019 16:01:56 GMT
< server: Cowboy

在此处输入图片描述

相关内容