Reputation: 1
I am trying to connect to my EC2
instance with TCP
in port 80 , but I couldn't.
Do I have to enable it somehow?
Under the Inbound Rules on my Security Group I have http on port 80
and SSH on port 22
.
I am connecting from a hardware device. Is there a way to check the TCP
connection from the terminal
on the mac ?
Is there something else I have to do?
The host that I type to connect is:
http://ec2-xx-xx-xxx-xx.compute-1.amazonaws.com
Upvotes: 1
Views: 425
Reputation:
Check to ensure you have opened the firewall rules for your instance security group on TCP 80, 22 and that your IP address is listed.
Example would be :
0.0.0.0/0 TCP 80
Allow inbound HTTP access to the web servers from anywhere or restrict by opening to your IP address only. Use your public IP which can be obtained from https://www.whatismyip.com/
Upvotes: 1