Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (19.1k points)

I'm running a CherryPy web server at 0.0.0.0:8787 on an EC2 instance.

I can connect to the web server via local wget on the EC2 machine, but I can't reach the instance from my own remote machine (I connect to EC2 via ssh).

Do I need to open up port 8787 to access the web server remotely? If so, how can this be done? Also, can I use the public IP of the EC2 instance for this?

1 Answer

0 votes
by (44.4k points)

Follow these steps to do this:

  • Open "Network & Security" -- Security Group settings are on the left-hand navigation
  • Find the security group connected to your instance
  • Choose “inbound rules
  • Type the port number (in your case 8787) in “port range” then click “Add Rule”
  • Use the drop-down and add HTTP (port 80)

And it is done.

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Jul 12, 2019 in AWS by Amyra (12.9k points)

Browse Categories

...