HttpWebRequest WebProxy problem - The connection was closed unexpectedly
问题 I'm trying to make a HTTP request through an open SOCKS5 proxy. I have verified that the proxy works by setting it as a proxy for Firefox before setting it as the proxy in my C#.Net application by setting request.Proxy = new WebProxy(ip, port); However, on attempting to run the application and make my request I get an exception - System.Net.WebException: The underlying connection was closed: The connection was closed unexpectedly. I'm unsure what is causing this - the proxy seems to be open