title: I get a TimeoutError: [WinError 10060] when I try to run a working python script on my corporate network
body: <p>When I run this script at home, I get the results I need, but when I run it on corporate networks it does not work I get WinError 10060, I tried different proxy and everythign but couldnt get it to run and I need to have it running on the corporate network beacause that is where the voice techs are going to be running the script.</p>
  
  <p>I'd be greatful if anybody can point me in the right direction.</p>
  
  <pre><code>import sys, http.client  
  
  showlines = 50
  npa = []
  
  try:
      servername = sys.argv[1]
  
  except:
      servername = 'localcallingguide.com'
  server = http.client.HTTPConnection(servername)
  
  for i in range(1000):
      if i &lt; 10:
          npa.append('00' + str(i))
      elif i &gt;= 10 and i &lt; 100:
          npa.append('0' + str(i))
      else:
          npa.append(str(i))
  
  for i in range(len(npa)):
      filename = '/lca_rcdist.php?npa1=503&amp;nxx1=745&amp;npa2=503&amp;nxx2=' + npa[i]
      server.putrequest('GET', filename)
      server.putheader('Accept', 'text/html')
      server.endheaders()
      reply = server.getresponse()
  
      if reply.status != 200:
           print('Error sending request', reply.status, reply.reason)
      else:
          data = reply.readlines()
          reply.close()
          for line in data[:showlines]:
              cLine = line.decode('utf-8')
              if '"ofrom"&gt;N&lt;' in cLine:
                   print('NXX ,' + npa[i])
  </code></pre>