I have an EC2 node, node1 (security group SG1) which should be accessible from another EC2 node, node2 (security group SG2) on port 9200. Now, when I add an inbound rule in SG1
The Public DNS didn't work for me. What I did instead was create a custom inbound rule using the security group of the other instance.