EC2实例网络错误:“请求超时”

问题描述 投票:0回答:2

我们有EC2 Redhat实例,体积为1TB。将卷修改为2TB后,当我们尝试通过SSH访问服务器时,它会将错误抛出为Network Error : Request time out

我们按照Requesting Modifications to Your EBS Volumes - Amazon Elastic Compute Cloud来修改音量。

任何人都可以帮我解决这个问题吗?

调试日志:

OpenSSH_for_Windows_7.6p1, LibreSSL 2.6.4
debug3: Failed to open file:C:\\Users\\Max-Asset-03/.ssh/config error:2
debug3: Failed to open file:C:\\ProgramData\\ssh/ssh_config error:2
debug2: resolving "<ip>" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to <ip> [<ip>] port 22.
debug3: finish_connect - ERROR: async io completed with error: 10060, io:000001B6073FB750
debug1: connect to address <ip> port 22: Connection timed out
ssh: connect to host <ip> port 22: Connection timed out
amazon-web-services amazon-ec2 connectivity
2个回答
0
投票

这是我将采取的方法:

 1. Try doing a Telnet to port 22 from your env and see if it connects
 2. If it does not connect then you should look at your security group first and see if you have open inbound rule to port 22
 3. If you think you have the sec group open then i would look at NACL layer.
 4. If you think that is also not the issue, you should see are you in the public subnet 

这应该让你很好地了解错误


0
投票

基本上,当存在网络相关问题时,会出现“网络错误:请求超时”错误。

您可以排除故障的可能性如下:

  1. 确保您的NACL规则不是障碍。
  2. 您的IP地址可能会被列入黑名单。

[访问spamhaus.org查看您的IP地址是否已列入黑名单]。如果是,则将IP列入白名单并尝试再次登录。

  1. 此外,由于EC2实例处于“运行”状态时的活动,EBS卷可能已损坏。如果是,请尝试使用快照恢复您的EBS卷(如果您已经使用了快照)。

希望这可以帮助。

© www.soinside.com 2019 - 2024. All rights reserved.