IIS Express: Debugging Over the Lan

So... you need to have your mobile app hit your local web serivce (that runs on IIS Express) and debug it. Follow these articles:

NetSH Commands


  • Configure your bindings in IISExpress: C:\Users\YourUser\Documents\IISExpress\config\applicationhost.config
  • Add the binding for your the ip address of your machine
<site name="SomeSite" id="32">
	<application path="/" applicationPool="Clr4IntegratedAppPool">
		<virtualDirectory path="/" physicalPath="C:\dev\code\someSite" />
		<binding protocol="http" bindingInformation=":7299:localhost" />
		<binding protocol="http" bindingInformation="*:7299:" />
  • Run this command in an elevated command prompt
netsh http add urlacl url= user=everyone 
  • Add a firewall rule: Inbound port 7299, allow

  • Once done, switch your bindings back:

   <binding protocol="http" bindingInformation="*:7299:localhost" />
  • Run this command to remove that rule:
netsh http delete urlacl url=