iisexpress

excluding ports from hyper-v

I was having an intermittent problem where a web app running in visual studio would throw an iisexpress error that the port was already in use. The fix was to exclude a range of ports from being grabbed by hyper-v.

sh
netsh int ipv4 set dynamicport tcp start=55000 num=10535

more info