net.tcp service is unavailable for the protocol of the address

后端 未结 1 500
有刺的猬
有刺的猬 2021-02-07 12:13

Our application is hosted in IIS 7.0. It exposes endpoints over net.tcp protocol. But we kept running into the following exception:

EndpointNotFoundExcept

相关标签:
1条回答
  • 2021-02-07 12:42

    It is hard to say but on what port are you trying to connect?

    Make sure that port is available and nothing else is using it.

    If you are using a proxy you should add the below as well:

    ......
     <httpTransport
          maxBufferPoolSize="4194304"
          maxBufferSize="1048576"
          maxReceivedMessageSize="1048576"
          proxyAddress="http://127.0.0.1.:8888
          useDefaultWebProxy="false"
        />
      </binding>
    </customBinding>
    
    0 讨论(0)
提交回复
热议问题