title: AWS: SSH port timeout after changing port number
body: <p>I am trying to configure the website on AWS Lightsail. First thing I did was to change port number from 22 to 2200 in </p>
  
  <p><code>/etc/ssh/sshd_config</code></p>
  
  <p>, then I configured the Uncomplicated Firewall like</p>
  
  <p><code>sudo ufw allow 2200/tcp
  sudo ufw allow 80/tcp
  sudo ufw allow 123/udp
  sudo ufw enable
  sudo service ssh restart
  </code></p>
  
  <p>Since this commit, I cannot connect to my server anymore, even with this command:</p>
  
  <pre><code>ssh -i ~/.ssh/private_key.rsa grader@34.215.140.134 -p 2200
  </code></pre>
  
  <p>How can I fix this?</p>