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.
题
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?
解决方案
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.