Hello to all Stackoverflow users!
Here is something funny that happened to me - maybe you can explain why?
Halfway through my work day, my IIS Express installation stopped working.
At first, I thought it was a problem with the ASP.NET project that I was working on, it just hangs and does not start, because the page continued to freeze until it ended. Then I tried some other projects also configured to run on localhost: 8080 - and they wonβt load - even simple HTML versions.
Now that I say that they will not load; I mean no activity at all. The page will "load" in chrome for ages, and the IISExpress console will not register any GET requests until, finally, the tab in chrome displays a timeout error.
This morning I (with some help) understood something - for some reason, when I pinged localhost , the ipv6 ::1: address will return instead of the ipv4 address 127.0.0.1 - I have not noticed this behavior before, and I have not changed any network settings.
I edited my HOST file and included the entry for 127.0.0.1 localhost to force ping localhost to return the ipv4 address. This worked, and when I tried IIS Express to bind to localhost: 8080 again, it also worked.
My question is: What on Earth?!?!
I have no idea why this happened. I know that I was able to fix a single issue by editing my HOST file, but does anyone know why this could happen?
Any idea why ping localhost will suddenly start returning an ipv6 address? And any idea why IIS Express will not work with ipv6? (I assume that the IIS engine will have what is currently baked).
I would like to understand what happened in order to avoid any further problems and for the sake of rarity.
Thanks in advance for any information,
Phil