title: urllib.urlopen isn't working. Is there a workaround?
body: <p>I'm getting a getaddress error and after doing some sleuthing, it looks like it might be my corporate intranet not allowing the connection (I'm assuming due to security, although it is strange that IE works but won't allow Python to open a url).  Is there a safe way to get around this?</p>
  
  <p>Here's the exact error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;pyshell#1&gt;", line 1, in &lt;module&gt;
      b = urllib.urlopen('http://www.google.com')
    File "C:\Python26\lib\urllib.py", line 87, in urlopen
      return opener.open(url)
    File "C:\Python26\lib\urllib.py", line 203, in open
      return getattr(self, name)(url)
    File "C:\Python26\lib\urllib.py", line 342, in open_http
      h.endheaders()
    File "C:\Python26\lib\httplib.py", line 868, in endheaders
      self._send_output()
    File "C:\Python26\lib\httplib.py", line 740, in _send_output
      self.send(msg)
    File "C:\Python26\lib\httplib.py", line 699, in send
      self.connect()
    File "C:\Python26\lib\httplib.py", line 683, in connect
      self.timeout)
    File "C:\Python26\lib\socket.py", line 498, in create_connection
      for res in getaddrinfo(host, port, 0, SOCK_STREAM):
  IOError: [Errno socket error] [Errno 11001] getaddrinfo failed
  </code></pre>
  
  <p>More info: I also get this error with urllib2.urlopen</p>