SimpleSi Posted November 13, 2015 Posted November 13, 2015 I was trying to run a python prog to post to a website from a virtual vmware w2k3 server and it was giving connection error. During investigation I found pip wouldn't install but at least gave me clue in that it mentioned our old cahcepilot proxy server 10.81.85.240 in the error message Problem is - I can't find where to disable it! I tried using proxycfg but it said I wasn't using any proxy server and that I had a direct connection Can any old timers remember where else it may be set on a w2k3 server? Simon (Its not set in IE LAN Settings)
Steve21 Posted November 13, 2015 Posted November 13, 2015 Proxycfg tool? Would be under registry in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\WinHttpSettings I thinky Steve 1
themightymrp Posted November 13, 2015 Posted November 13, 2015 have you searched the registry for that IP address? 1
SimpleSi Posted November 13, 2015 Author Posted November 13, 2015 Ta for suggestions - I'll try on monday when next back in that school
SimpleSi Posted November 16, 2015 Author Posted November 16, 2015 Found it - it was enabled in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings All works now - my Python script can now send out heartbeat messages using dweet https://dweet.io/follow/cycystg import urllib import urllib2 import time url = 'https://dweet.io/dweet/for/cycystg' while True: data = urllib.urlencode({'HBP CL2KSRV01' : time.asctime()}) content = urllib2.urlopen(url=url, data=data).read() print content time.sleep(1800)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now