What default port does WCF use for nettcp when hosted by IIS?

南楼画角 提交于 2020-01-03 17:26:06

问题


Our server is WCF based and it is hosted by IIS. We use nettcp as our binding. The app is working but we still have one thing unclear to us: Since we are not specifing a port # in our configuration, what is the default port that WCF/IIS uses? In production environment, do we need to manually open a port in IIS for WCF/NetTcp?


回答1:


The default port is 808. You can learn more about it here: How to: Configure a Windows Communication Foundation Service to Use Port Sharing.

Make sure you open port in firewall.



来源:https://stackoverflow.com/questions/17371567/what-default-port-does-wcf-use-for-nettcp-when-hosted-by-iis

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!