无法从远程 B 连接到远程 A,但我可以从 AWS lightsail 上的本地连接

Cannot connect to remote A from remote B but I can connect from local on AWS lightsail

提问人:Jill Clover 提问时间:11/17/2023 更新时间:11/17/2023 访问量:14

问:

我有 3 台机器:本地、远程 A、远程 B。

我已打开 AWS lightsail 防火墙以允许所有 IP 地址。

我可以确认我可以从本地访问到远程 B:

telnet 34.211.10.X 27017
Trying 34.211.10.X...
Connected to 34.211.10.X.
Escape character is '^]'.
Connection closed by foreign host.

但是我不能从远程 A 到远程 B 做同样的事情:

telnet 34.211.10.X 27017
Trying 34.211.10.X...
telnet: Unable to connect to remote host: Connection timed out

我尝试从远程 A ping 到远程 B,效果很好。

64 bytes from 34.211.10.X: icmp_seq=1 ttl=48 time=158 ms

我已经尝试了多次,老实说我很困惑。

网络服务 亚马逊 Lightsail

评论

0赞 John Rotenstein 11/18/2023
您提到了一个 Amazon Lightsail 实例。那是“远程B”吗?什么是“远程 A”——它是不同的 Lightsail 实例吗?更多信息,请。

答: 暂无答案