title: PuTTy Connection timed out for EC2
body: <p>I created Ubuntu instance in EC2. And worked fine so far.</p>
  
  <p>But somehow I can't connect to the server by PuTTy anymore and I get <code>Network error: Connection timed out</code>.</p>
  
  <ol>
  <li>The instance is running in the console.</li>
  <li>CPU uses just 2%.</li>
  <li>InBound Setting seems no problem. SSH with 22 port.</li>
  <li>Tried with the IP address and DNS.</li>
  <li>restarted the instance and Tried.</li>
  <li>Stopped and tried with different IP address.</li>
  <li>Instance connection is fine.</li>
  </ol>
  
  <p>This is the screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/DGjKb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DGjKb.png" alt="enter image description here"></a></p>
  
  <p>This is inbound rule:</p>
  
  <p><a href="https://i.stack.imgur.com/Andsu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Andsu.png" alt="enter image description here"></a></p>
  
  <p>How can I solve this problem?</p>