title: connect AWS EC2 postgresql with docker apache superset container
body: <p>I am running postgresql in AWS EC2 ubuntu OS. I have successfully connected to pgAdmin. I have also succesefully run a docker container for apache superset and logged in successfully.</p>
  
  <p>When I try to link superset with a postgresql database using the below:</p>
  
  <pre><code>**Database *** testdb
  **SQLAlchemy URI ***postgresql+psycopg2://myuser:mypassword@awsUbuntupublicIP:5432/testdb 
  </code></pre>
  
  <p>I get the below error
  ERROR: Connection failed, please check your connection settings.</p>