title: python socket.connect -> timed out why?
body: <p>I'm fairly naive in this regard. I'm not sure why my connection is timing out. Thanks in advance.</p>
  
  <pre><code>#!/usr/bin/env python
  import socket
  
  def socket_to_me():
      socket.setdefaulttimeout(2)
      s = socket.socket()
      s.connect(("192.168.95.148",21))
      ans = s.recv(1024)
      print(ans)
  </code></pre>
  
  <p>the trace back generated by this code</p>
  
  <pre><code>Traceback (most recent call last):
    File "logger.py", line 12, in &lt;module&gt;
      socket_to_me()
    File "/home/drew/drewPlay/python/violent/networking.py", line 7, in socket_to_me
      s.connect(("192.168.95.148",21))
    File "/usr/lib/python2.7/socket.py", line 224, in meth
      return getattr(self._sock,name)(*args)
  timeout: timed out
  </code></pre>