1

With the latest version of visual studio, when I start debugging my app, I don't have access to all the URLs I've set up in my applicationhost.config file. These were working up to about a week ago.

I have this in my applicationhost.config bindings section:

<bindings>
    <binding protocol="http" bindingInformation="*:51415:localhost" />
    <binding protocol="http" bindingInformation="*:51415:subdomain.localhost" />            
    <binding protocol="http" bindingInformation="*:51415:othersubdomain.localhost" />
    <binding protocol="http" bindingInformation="*:51415:thirdsubdomain.localhost" />
    <binding protocol="http" bindingInformation="*:80:pro.myPC.mydomain.biz" />
    <binding protocol="http" bindingInformation="*:443:pro.myPC.mydomain.biz" />
    <binding protocol="https" bindingInformation="*:44303:pro.myPC.mydomain.biz" />
    <binding protocol="https" bindingInformation="*:44303:localhost" />
</bindings>

I only see some of those listed in IISExpress:

http://subdomain.localhost:51415/
http://thirdsubdomain.localhost:51415/
https://pro.myPC.mydomain.biz:44303/
https://localhost:44370/

UPDATE: I removed the bindings for the subdomains, and http://localhost:51415 still doesn't work. Only the https url remains in the IIS Express system tray tool.

M Kenyon II
  • 4,136
  • 4
  • 46
  • 94
  • "I only see some of those listed in IISExpress". Do you refer to IIS Express system tray app? No document says how it works internally, so I assume this question cannot be easily answered without reverse engineering it. – Lex Li Aug 20 '18 at 19:35
  • Yes. And I can't navigate to them. This was working previously. Wish I knew what changed. – M Kenyon II Aug 20 '18 at 19:38
  • I find this surprisingly applicable to my specific situation... ;P – Brian Wright Nov 29 '18 at 18:54

1 Answers1

2

For some reason, I need to start Visual Studio as an Administrator. I had set my shortcut to always start as Admin, but apparently after the update, the shortcut was reset.

Starting as admin, this works.

M Kenyon II
  • 4,136
  • 4
  • 46
  • 94