无法从虚拟 Ubuntu 主机 ping 托管网站

无法从虚拟 Ubuntu 主机 ping 托管网站

设置:有一台运行 Ubuntu 16.04 的虚拟机。在该虚拟机上,我还运行 VPN 服务和nginxWeb 服务器。我还使用桥接适配器。

我能够从互联网上的我的域名以及本地的 VM IP 访问网络服务器。

问题:我现在尝试使用 Let's Encrypt 来创建 SSL 证书。但失败了,声称无法使用域名访问 Web 服务器。我既无法 ping 通域名,也无法从 VM ping 通映射到域名的公共 IP。我可以从 Windows 主机 ping 通它。

sudo letsencrypt certonly -a webroot --webroot-path=/var/www/html -d domain.se -d srv01.domain.se Failed authorization procedure. domain.se (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Could not connect to domain.se, srv01.domain.se (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Could not connect to srv01.domain.se

如果您需要更多信息,请告诉我,如果有必要,我很乐意提供日志或任何其他信息。

相关内容