[Answered ]-Django on EC2 security group fo postgresql on RDS

2👍

enter the following into the linux command line:
cd /path/to/djangoproj
screen
source <env>/bin/activate

then you should see the command line tool reads something like:
(<env>)[ec2-user@ip-172-31-26-243 djangoproj]$

see that section in the middle: ip-172-31-26-243, that’s the local ip, use that in the security group settings. in this case, I used 172.31.26.243/32 as the incoming IP allowed

then try to runserver again

👤Keith

Leave a comment