Unable to Access Airflow login from EC2 instance

0

I have created EC2 instance then install apache-airflow inside that after starting airflow i got ip to login then i added All traffic in Security then try to open on public ip with :8080 to login airflow i am not able to access.

This site can’t be reached10.123.12.123:8080 took too long to respond.

已提问 2 个月前411 查看次数
1 回答
0

Hello.

The IP address "10.123.12.123" is usually a private IP address, so I don't think you can connect globally from a browser etc.
You need to set a public IP address to access EC2 globally.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing.html#concepts-public-addresses

Also, the subnet where EC2 is running must be set to a public subnet.
In other words, you need to set a route to the Internet gateway in the subnet's route table.
https://docs.aws.amazon.com/vpc/latest/userguide/configure-subnets.html#subnet-types

profile picture
专家
已回答 2 个月前
  • my instance have public IP DNS. ec2-13-233-146-138.ap-south-1.compute.amazonaws.com so when i am try to reach on that unable to connect i also changed the security inbounds.

  • Have you also checked the route table of the subnet where EC2 is running? Also, is your application listening on port "8080" on your EC2? For example, you can check the process using port 8080 by running the following command.

    sudo lsof -i:8080
    
  • If you are Free then Connect with me on www.linkedin.com/in/ojharitesh

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则