Skip to content

my EC2 not working showing error

0

my EC2 not working showing error ERR_CONNECTION_REFUSED how can solve this error pls help me

asked 2 years ago292 views
2 Answers
0

Hello.

What exactly are you running on EC2?
If it's a simple web server (such as Apache), I think it's possible that you're connecting using a port number that the web server isn't listening on.
For example, if you try to access via HTTPS even though you have not configured an SSL certificate or HTTPS settings, such an error may occur.
Is it possible to access it from a browser like below?

http://EC2-Public-IP-Address
EXPERT
answered 2 years ago
AWS
EXPERT
reviewed 2 years ago
0

Hello,

For your issue there will be several reasons:

  • Check the security group for SSH, HTTP and HTTPS rules, they should be in allow state.
  • Check the Instance is running or it is in stopped state.
  • Check the software you are installed in the instance are running or not.

For more details refer the document:- https://repost.aws/knowledge-center/ec2-linux-resolve-ssh-connection-errors

EXPERT
answered 2 years ago
EXPERT
reviewed 2 years ago
EXPERT
reviewed 2 years ago
AWS
EXPERT
reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.