Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29436

Can't connect to ec2 instance for the first time

$
0
0

AWS consoleI made the new ec2 instance with RedHat. I couldn't even connect once (I was trying to follow this guide https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html?icmpid=docs_ec2_console) Amazon console shows that instance is running, I downloaded the .pem file converted it using PuTTYgen to .ppk. The port is set to 22, connection type SSH, the key file path is in SSH auth. I was trying those hostnames

  • publicIP
  • DNSname
  • ec2-user@DNSname

Red color here matches the public IPv4

Putty configurationPutty configuration2

but every single time I get PuTTY pop up

Network Error connection refused

Some of you know what am I missing?


Viewing all articles
Browse latest Browse all 29436

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>