I am trying to make a simple proof of concept on a new instance of EC2 in which I run the code for the "Hello World" tutorial from the CherryPy distribution.
CherryPy starts successfully, and running wget directly on an EC2 instance successfully restores the Hello World page. However, trying to access the same page from my own machine results in a "connect failed" error.
CherryPy runs on port 8080, and my EC2 instance is configured with a security group that should allow traffic from anywhere to connect to port 8080.
Here is my CherryPy tutorial.conf:
[global]
server.socket_host = "127.0.0.1"
server.socket_port = 8080
server.thread_pool = 10
I tried to connect to the web server using both the public DNS specified in the AWS management console and the elastic IP setting; none of them allows you to successfully connect.
Everyone is welcome any guide.
source
share