Global variables within IIS Express

The following three environment variables are set by iisexpress.exe during the process startup. %IIS_BIN% – refers to IIS Express installation folder (%PROGRAMFILES%\IIS Express) %IIS_USER_HOME% – %USERPROFILE%\Documents\IISExpress %IIS_SITES_HOME% – %USERPROFILE%\Documents\My Web Sites %SYSTEMDRIVE% – is a standard windows system environment variable

IISExpress 8 Cannot read configuration file redirection.config

I had a similar issue to @Myles J but renaming %userprofile%\Documents\IISExpress\config\applicationhost.config didn’t work. What I had to do was the following: Close Visual Studio. Rename the %userprofile%\Documents\IISExpress\config directory. Start Visual Studio again. The %userprofile%\Documents\IISExpress\config directory will be recreated with the default config files. Copy the original applicationhost.config file over the autogenerated one. Before anyone asks: … Read more

Ngrok configure multiple port in same domain

Yes, it is possible using multiple simultaneous tunnels, within the same hostname ! All you need to do, is to declare them on your configuration file, like this: authtoken: 4nq9771bPxe8ctg7LKr_2ClH7Y15Zqe4bWLWF9p tunnels: first-app: addr: 50001 proto: http hostname: example.ngrok.com host_header: first-app.example.ngrok.com second-app: addr: 50002 proto: http hostname: example.ngrok.com host_header: second-app.example.ngrok.com And run them with: ngrok start … Read more

IISExpress returns a 503 error from remote machines

It looks like you are missing a binding information entry in applicationhost.config file. Open your applicationhost.config file. Possible locations are: %userprofile%\Documents\IISExpress\config\applicationhost.config $(solutionDir)\.vs\config\applicationhost.config (VS2015) Failing that, inspect the output from iisexpress.exe to be sure. Locate your WebSite entry and add following binding with your machine name. <binding protocol=”http” bindingInformation=”:50333:your-machine-name” /> Restart IIS Express