linux - ERR_CONNECTION_TIMED_OUT 与 Lightsail Ubuntu 实例

标签 linux amazon-web-services ubuntu ssh

我再也无法使用 lightsail,因为我白痴关注了 this教程在这里。无论如何,我有我的实例的快照。所以我启动了实例并将静态 IP 附加到新实例并调整了虚拟主机文件和来自 Wordpress 的 .htaccess。我遇到的问题是,当我尝试通过域打开页面时,我收到错误消息“ERR_CONNECTION_TIMED_OUT”

<VirtualHost *:80>
ServerName  mysite
ServerAlias mysite.com
DocumentRoot /var/www/wordpress

<Directory /var/www/wordpress>

Options FollowSymLinks

AllowOverride Limit Options FileInfo

DirectoryIndex index.php

Require all granted

</Directory>

<Directory /var/www/wordpress/wp-content>

Options FollowSymLinks

Require all granted

</Directory>

</VirtualHost>

我错过了什么?

最佳答案

好的,我自己解决了。以防有人好奇。
在网络下我的实例的 Lightsail 设置中,端口 443 未打开。

关于linux - ERR_CONNECTION_TIMED_OUT 与 Lightsail Ubuntu 实例,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71411088/

相关文章:

tomcat - 设置最大文件数

php - 在自定义构建的 php7 上启用 Curl

java - 使用 Ubuntu/linux 从 IntelliJ 中的断点跳转到调用方方法

c++ - 通过调用 atexit 函数终止程序 (Linux)

linux - awk 从 mtjoseph :6/MKTCzMS/YU. 中提取 "Matthew":10974:10060:Matthew

regex - 使用 linux 重新格式化被屠杀的文本

python - 如何使用 Boto 将 UniqueRequestToken 传递给 AWS Mechanical Turk

linux - 无法调整 AWS EC2 卷的大小

linux - 使用 ECDSA 证书问题 boost asio

git - 将 Flask 应用程序部署到 AWS beanstalk 时出现错误 [Errno 2]