title: Configure WCF for LOCALHOST-only listening
body: <p>Similar to the Visual Studio development web server (Cassini) limitation that it only servers on localhost, I have a WCF Service implementation that is only needed on localhost.  </p>
  
  <p>I wouldn't mind other machines having access, except that the Windows Firewall prompts to allow the program to listen on the externally-facing NIC.  Since this is only needed internally, I would rather restrict the WCF Server-side configuration so that it doesn't trip the firewall detector.</p>
  
  <p>Is <code>binding.HostNameComparisonMode = HostNameComparisonMode.Exact</code> the right solution?  I don't see how this is enough.</p>
  
  <p>====</p>
  
  <p>Like Cassini, this Service implementation is a stand-in for something else which DOES require network communication.  The client can be configured to connect to the real server or the fake implementation running on localhost. </p>