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

user2434400 picture user2434400 · Jun 28, 2013 · Viewed 9.5k times · Source

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?

Answer

Ilkka picture Ilkka · Jun 28, 2013

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.