Wednesday, April 25, 2012

Access IISExpress from Remote Machine

Today I tried to access my development site from a VM and was unable to connect. Thanks to @vcsjones, I learned that you can edit My Documents > IISExpress > config > applicationhost.config. Look for the sites section:

        <sites>
            <site name="MyApplication" id="0">
                <bindings>
                    <binding protocol="http" bindingInformation="*:2600:localhost" />
                </bindings>
            </site>
        </sites>
duplicate the localhost line and replace “localhost” with the hostname you want to allow.
Thanks Dr. Jones.

No comments:

Post a Comment

Follow me on App.net