Похоже, localhost не работает. В этом примере я буду использовать 192.192.92.92 в качестве своего IP-адреса!
192.192.92.92
Начиная с C:\Windows\System32\drivers\etc\host:
C:\Windows\System32\drivers\etc\host
# 127.0.0.1 localhost ::1 localhost
IIS binding:
IIS binding
Type: http IP address: All Unasigned (there is no 127.0.0.1 or localhost in the list) Port: 80 hostName: -blank-
Когда Я запускаю сервер и нажимаю «Обзор» в ISS, он открывает браузер со следующей ошибкой:
The strange thing with this is that it works perfectly fine with a custom host name!
C:\Windows\System32\drivers\etc\host:
# 127.0.0.1 localhost ::1 localhost 192.192.92.92 myCustomHostName.com
Type: http IP address: 192.192.92.92 Port: 80 hostName: myCustomHostName.com
My main objective is to figure out how to find a way to run the IIS app on the localhost again. It used to work before, but I think uninstalling APACHEE - XAMPP confused everything in IIS and now there is no 127.0.0.1!
Stuff I have tried and didn't work for me:
Youtube:
SO: