1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
0
Hi,
I understand that you're trying to bind django on the Elastic IP addr 52.4.xxx.52 on an EC2 instance.
Elastic IP addr are not directly binded on an EC2 instance, they are associated with an ENI of your EC2 instance which usually has a private IP from the VPC. That's why Django is unable to find this IP addr to bind on.
If you have only one interface mounted on your EC2 instance you can find out with this command on linux " ip addr " and "ipconfig" on windows.
finally, replacing your --host 52.4.xxx.52 with the local IP will fix the issue. ( ie : --host 172.31.xxx.xxx )
For ref : https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html
respondido hace 2 años
Contenido relevante
- OFICIAL DE AWSActualizada hace 4 meses
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace 3 años