开发者

WCF, WAS, IIS and ports

Hi,

I have worked with WCF for a while now but there is somthing Im not clear on.

When hosting a WCF service in IIS the standard protocol will be http and the default port is 80. Its possible to change this portnr if needed.

Then its also possible to host a WCF service in IIS using the TCP protocol(WAS). Th开发者_高级运维e WCF service will however still publish its mex on port 80 on http prootocol but how do I see the port nr for the WCF TCP communication?

I Supose that I will have to open first the port nr for the mex(usually port 80) and then also the WAS(WCF TCP in IIS) port?

BestRegards


You can see which port TCP will use by going into the website configuration in IIS and looking at the site bindings, then looking for (or adding, if necessary) the net.tcp binding. Here is the documentation on how to configure bindings.

If I remember correctly, the default port is 808.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜