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 個月前檢視次數 412 次
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

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南