如何在 Fedora 中使用 AWS Windows ec2 实例?
How to use AWS Windows ec2 instance in fedora?
我正在尝试从 Fedora 25 连接 aws Windows ec2 实例,我在 windows 机器上连接它没有任何问题,因为 Windows 默认有 mstsc,但这次我使用在 fedora-25 上使用以下命令连接到 windows ec2 实例:
rdesktop -u administrator ec2-35-144-210-177.ap-south1.compute.amazonaws.com
###failed after 2 mins
I got below error - ERROR:
ec2-35-144-210-177.ap-south-1.compute.amazonaws.com: unable to connect
我可以使用 mstsc 从 windows 机器连接 ec2 windows 实例,但无法从 fedora 连接,因为 rdesktop 没有按预期工作。有解决此问题的建议吗?
这是一个愚蠢的错误,下面是我在这个问题上的发现,考虑这个场景-
laptop1 - running on Windows10 - connected to network1
laptop2 - running on fedora25 - connected to network2
aws 实例是从 windows10 使用 network1 创建的,这就是为什么安全组的入站规则默认创建一个条目并且它将允许 network1 连接到 Windows ec2 即时没有任何问题。
In my Situation -
From the error - unable to connect, it is difficult to find out the root cause.
I created Windows ec2 instance from Windows10 which was running on
network1 but I was trying to access from fedora25 which is running on
network2, network1 is different from network2 and if you want to
connect from a network which is different from the network which you
used to create Windows ec2 instance then you need to create one more
entry in the security group for inbound Rules to add the ip address of your current network. And when I deleted the
old machine and created new machine from fedora25+network2 it worked
because by default it created one inbound rule in the Security Group
for network2.
我正在尝试从 Fedora 25 连接 aws Windows ec2 实例,我在 windows 机器上连接它没有任何问题,因为 Windows 默认有 mstsc,但这次我使用在 fedora-25 上使用以下命令连接到 windows ec2 实例:
rdesktop -u administrator ec2-35-144-210-177.ap-south1.compute.amazonaws.com
###failed after 2 mins
I got below error - ERROR: ec2-35-144-210-177.ap-south-1.compute.amazonaws.com: unable to connect
我可以使用 mstsc 从 windows 机器连接 ec2 windows 实例,但无法从 fedora 连接,因为 rdesktop 没有按预期工作。有解决此问题的建议吗?
这是一个愚蠢的错误,下面是我在这个问题上的发现,考虑这个场景-
laptop1 - running on Windows10 - connected to network1
laptop2 - running on fedora25 - connected to network2
aws 实例是从 windows10 使用 network1 创建的,这就是为什么安全组的入站规则默认创建一个条目并且它将允许 network1 连接到 Windows ec2 即时没有任何问题。
In my Situation -
From the error - unable to connect, it is difficult to find out the root cause.
I created Windows ec2 instance from Windows10 which was running on network1 but I was trying to access from fedora25 which is running on network2, network1 is different from network2 and if you want to connect from a network which is different from the network which you used to create Windows ec2 instance then you need to create one more entry in the security group for inbound Rules to add the ip address of your current network. And when I deleted the old machine and created new machine from fedora25+network2 it worked because by default it created one inbound rule in the Security Group for network2.