2

How can I set an HTTP proxy on a WCF server side?

Is there is any way for that ?

1
  • i need to set a proxy external to the country which have the server. Commented Aug 23, 2010 at 6:55

2 Answers 2

2

You use a proxy server when you need to access some resource that is not on the same network as the client and for which the client has no direct access. Is your web service accessing remote resources like for example web pages? If on the other hand you are having issues calling your service then you need to set the proxy on the client side.

Sign up to request clarification or add additional context in comments.

Comments

0

specify the proxy settings in web.config file

<system.net>
        <defaultProxy enabled="true">
            <proxy proxyaddress="http://yourproxyserver:proxyport"/>
        </defaultProxy>     
    </system.net>

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.