EC2实例的公有IP和公共IPv4 DNS Host Name无法工作

0

【以下的问题经过翻译处理】 你好,我创建了一个EC2实例,使用了默认的Amazon AMI和默认的VPC,并创建了一个新的安全组,在其中允许了HTTP、HTTPS和SSH端口。实例成功创建且健康检查通过,但是当我点击公共IPv4地址或公共IPv4 DNS的打开地址时,无法打开,并显示网站无法访问的错误。有人能指导我问题出在哪里吗?

profile picture
EXPERT
demandé il y a 6 mois63 vues
1 réponse
0

【以下的回答经过翻译处理】 要能通过http访问您的实例,您还需要在实例上运行一个web服务器。您是否在实例上启动了httpd服务?您可以使用'netstat -an'验证实例是否在80/443端口监听。您应该肯定能够SSH到实例并验证http设置。

profile picture
EXPERT
répondu il y a 6 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions