简体   繁体   中英

Cannot access AWS EC2 instance from another instance via private IP

We have two Windows EC2 instances in the same subnet & VPC, created from AMIs shared via a different account. I've replicated the security group settings for each, and all seems fine.

However, we can not access shared folders/directories using the private IPs. We also cannot ping using the private IPs.

I've tried turning Windows firewall off for private networks, as well as leaving it and enabling the notifications. I even tried adding the IPs to the security groups out of desperation. Nothing seems to work, and I have no idea what else to try.

Any thoughts/tips?

You can not ping VMs with private IPs from the external internet. Create VPN Client and you will be able connect to the VMs and access the folders/directories.

If you are trying to ping vm which is in the subnet from the other which is also in the subnet make sure they are associated with the proper port in the security group.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM