创建服务器几个小时后,AWS 服务器端口 25 被阻止

AWS server port 25 blocked after few hours of server creation

我是 运行 带有 CentOs 的 EC2 large.t3 实例。

我的服务器区域是俄亥俄州。

我已经安装了 WHM,它运行良好。

当我创建服务器时,端口 25 工作正常。但是几个小时后,端口 25 被阻塞了。因此,我不能从我的网络邮件中发送任何电子邮件。

这是片段..

服务器设置完成后:

[root@ip-172-31-43-92 ~]# telnet 
 aspmx.l.google.com  25
Trying 172.217.214.26...
Connected to aspmx.l.google.com .
Escape character is '^]'.
220 mx.google.com  ESMTP 
n18si6406443jao.103 - gsmtp
quit
221 2.0.0 closing connection 
n18si6406443jao.103 - gsmtp
Connection closed by foreign host.
[root@ip-172-31-43-92 ~]#`

几个小时后重新启动:

[root@ip-172-31-43-92 home]# telnet 
aspmx.l.google.com  25
Trying 172.217.212.26...

Amazon EC2 默认限制所有 EC2 实例端口 25 上的流量,但您可以请求移除此限制。

这可能对您来自 AWS 网站有帮助:

Remove The Port 25 Throttle From Your EC2 Instance