开发者

Remotely accessible hostname for WCF TCP binding endpoint

开发者 https://www.devze.com 2023-01-29 11:43 出处:网络
A local endpoint defined as net.tcp://localhost:<port>/MyRemoteApp can only be accessed from the local system.

A local endpoint defined as net.tcp://localhost:<port>/MyRemoteApp can only be accessed from the local system.

  • Which hostname or IP should I use to ensure that the WCF service is accessible from all remote network interfaces?
  • What is the most compatible way to retrieve such a name?
  • Or do I n开发者_如何学Ceed multiple endpoints?


you can use 0.0.0.0: and service will bind to all interfaces on the current machine.

0

精彩评论

暂无评论...
验证码 换一张
取 消