1

我已经使用以下命令在本地机器上安装了 docker

docker run -d --name some-rabbit -p 5672:5672 -p 5673:5673 -p 15672:15672 rabbitmq:3-management

我的安装没有问题,我可以在本地机器上使用localhost和访问 rabbitmq 管理控制台ip address

http://localhost:15672/或者 http://192.168.1.111:15672/#/

这两个 URL 在安装的机器上都可以正常工作RabbitMQ

现在,我想从同一网络中的其他机器(IP 地址)访问此管理控制台。192.168.1.116

当我尝试management console使用IP (192.168.1.111)地址访问时,出现以下错误:-

This site can't be reached.  192.168.1.111 took too long to respond. Try:

Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_TIMED_OUT

我已经验证该机器是可访问的,并且我能够从 ping 192.168.1.111(通过 docker 安装 RabbitMQ 的机器)192.168.1.116

以下是docker安装的详细信息

C:\Users\heman>docker version
Client: Docker Engine - Community
 Version:           19.03.12
 API version:       1.40
 Go version:        go1.13.10
 Git commit:        48a66213fe
 Built:             Mon Jun 22 15:43:18 2020
 OS/Arch:           windows/amd64
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          19.03.12
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.13.10
  Git commit:       48a66213fe
  Built:            Mon Jun 22 15:49:27 2020
  OS/Arch:          linux/amd64
  Experimental:     true
 containerd:
  Version:          v1.2.13
  GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683
 Kubernetes:
  Version:          v1.16.6-beta.0
  StackAPI:         v1alpha3
4

0 回答 0