I have installed Rabbitmq under ubuntu 18.04 vps and here are the steps
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 ".*" ".*" ".*"
But when I try to access to the interface via Ip , I can't http://82.165.112.22:15672
The rabbitmq server is running
This is the output of 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
nmap -PN 82.165.112.22 -p 15672
returns15672/tcp filtered unknown
. – bistoco Sep 02 '19 at 01:2815672/tcp open
, it should connect. Can you docurl -v http://82.165.112.22:15672
and paste the output? – bistoco Sep 02 '19 at 16:37nmap
andcurl
from outside? or from the same machine where you have rabbitmq running?. – bistoco Sep 02 '19 at 17:13