【发布时间】:2021-07-05 04:30:01
【问题描述】:
看来我的设置是正常的:
但是当我尝试 localhost:8300 或 8310 时,我得到一个错误:
This site can’t be reachedThe webpage at http://0.0.0.0/ might be temporarily down or it may have moved permanently to a new web address.
ERR_ADDRESS_INVALID
【问题讨论】:
-
听起来你在“/etc/hosts”或其他东西中有一个虚假条目。 IP 0.0.0.0 不是真实的 IP 地址。这是一张“外卡”。它的意思是“所有地址”。你无法连接到它,因此你不应该配置“localhost”来解析它。
-
尝试使用 IP:Port 格式的 url。
-
@user432797 :请在Server Fault而不是Stack Overflow上发布此类问题。
-
我没有看到您已经转发了端口
8300和8310。您是否尝试过使用docker exec -it production_openemr_1 /bin/bashSSH 进入映像并检查服务器是否在这些端口上列出telnet localhost 8300 -
@saleemKhair 怎么转发?