Can't Connect to AWS rds from django app

I have a django app that locally connects fine to my aws rds. However I receive this message when attempting to connect. "Can't connect to MySQL server on '' (timed out)"

My outbound rules for my aws security group are set to allow all access, with the following settings:

  • Type: All Traffic
  • Protocol: All
  • Port Range: All
  • Destination:

I have no trouble connecting locally just from pythonanywhere

Had to change the inbound rules as well. Fixed it.

OK -- glad you worked it out!