dear all..

i am connecting to a web service to get a specific results and my windows applications download many files according to response from web-service

the problem appears only when using a proxy in my internet explorer using program "analog proxy"
this is the steps i made:
tools->internet options->connections->Lan settings-> and i checked use proxy server for Lan..... with address: and port:6588

my code to connect to web-service is:

            HttpWebRequest request = (HttpWebRequest)WebRequest.Create("");

            IWebProxy proxy = request.Proxy;
            if (proxy != null)
                MessageBox.Show("Proxy: {0}"+ proxy.GetProxy(request.RequestUri));
                MessageBox.Show("Proxy: {0}Proxy is null; no proxy will be used");

            WebProxy myProxy = new WebProxy();
            Uri newUri = new Uri("");
            // Associate the newUri object to 'myProxy' object so that new myProxy settings can be set.
            myProxy.Address = newUri;
            // Create a NetworkCredential object and associate it with the 
            // Proxy property of request object.
            myProxy.Credentials = new NetworkCredential("john", "johngra");
            request.Proxy = myProxy;

and in app.config i put the following line

    <defaultProxy enabled="true" useDefaultCredentials="true" >
i got this error:

System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
   at System.Net.HttpWebRequest.GetRequestStream()
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at SystemTray.SQSClient.StockQuoteService.getQuote(String symbol, String terminal) in D:\Graphicano\c# projects\SystemTray\SystemTray\Web References\SQSClient\Reference.cs:line 84
   at SystemTray.Form1.checker(Int32 updater_action, Int32 show_button) in D:\Graphicano\c# projects\SystemTray\SystemTray\MainForm.cs:line 1108

any idea for solving this problem please as soon as possible, i need to solve it quickly

thanks in advance