title: TimeoutError: [Errno 60] Operation timed out (Python socket request)
body: <p>I am fairly new to Python (just started today) but am really struggling with this:</p>
  
  <pre><code>#! /usr/bin/python
  
  import socket
  
  s=socket.socket()
  s.connect(("&lt;my ip addres&gt;", 22))
  
  answer=s.recv(1024)
  print(answer)
  
  s.close
  </code></pre>
  
  <p>I believe I am meant to be getting some sort of 'banner' response but it gives nothing for a few minutes before spouting the following error:
  <strong>TimeoutError: [Errno 60] Operation timed out</strong></p>
  
  <p>Why would this be happening?</p>