locked
how to set proxy for nettcpbinding RRS feed

  • Question

  • For http bindings, for example, BasicHttpBinding, proxy can be set through BasicHttpBinsing.UseDefaultWebProxy or BasicHttpBinding.ProxyAddress. But for NetTcpBinding, how to do that?
    Sunday, November 9, 2008 5:50 AM

Answers

  • Hi,

     AFAIK there is no equivalent proxy functionality for TCP connections. You will have to use a mechanism in your router / firewall to forward the inbound traffic on one port to another computer/port - but it hasn't the same dynamic properties that a HTTP proxy has.

     --larsw

    Lars Wilhelmsen | Senior Consultant | Miles, Norway | MCTS WCF | http://www.sral.org/blogs/larsw/
    • Proposed as answer by edhickey Wednesday, November 12, 2008 10:24 PM
    • Marked as answer by _larsw Monday, November 17, 2008 12:27 PM
    Sunday, November 9, 2008 7:33 PM

All replies

  • Hi,

     AFAIK there is no equivalent proxy functionality for TCP connections. You will have to use a mechanism in your router / firewall to forward the inbound traffic on one port to another computer/port - but it hasn't the same dynamic properties that a HTTP proxy has.

     --larsw

    Lars Wilhelmsen | Senior Consultant | Miles, Norway | MCTS WCF | http://www.sral.org/blogs/larsw/
    • Proposed as answer by edhickey Wednesday, November 12, 2008 10:24 PM
    • Marked as answer by _larsw Monday, November 17, 2008 12:27 PM
    Sunday, November 9, 2008 7:33 PM
  • Hi all,

    now, 6 years later, has NetTcpBinding support for proxies??

    Thanks and best regards,

    Alex

    Thursday, April 24, 2014 10:47 AM