title: Timeout when connecting to Amazon RDS (Microsoft SQL Server / PostrgreSQL)
body: <p>I cannot connect to my fresh new instance of SQL Server Express Edition from the Internet.</p>
  
  <pre><code>~$ sudo nc -vz &lt;HOST&gt;.eu-west-3.rds.amazonaws.com 1433
  nc: connect to &lt;HOST&gt;.eu-west-3.rds.amazonaws.com port 1433 (tcp) failed: Connection timed out
  </code></pre>
  
  <p>I have already configured AWS security group assigned to this database instance. My inbound and outbound rules are: </p>
  
  <pre><code>type:         all trafic
  protocol:     all
  port range:   all
  source:       ::/0 
  </code></pre>
  
  <p>Also, everything looks fine on AWS Management Console: </p>
  
  <pre><code>DB instance status: available
  Pending maintenance: none
  Publicly accessible: Yes
  </code></pre>
  
  <p>Locally, I have also disabled my ufw:</p>
  
  <pre><code>~$ sudo ufw status verbose
  Status: inactive
  </code></pre>
  
  <p>and iptables:</p>
  
  <pre><code>~$ sudo iptables -P INPUT ACCEPT &amp;&amp; sudo iptables -P OUTPUT ACCEPT &amp;&amp; sudo iptables -P FORWARD ACCEPT &amp;&amp; sudo iptables -F
  </code></pre>
  
  <p>But still, nothing works. (the same happens both to my SQL Server Express Edition and PostgreSQL 9.4.15 on AWS)</p>