Você quase certamente está executando a verificação de loopback do Windows apresentada com o IIS 5.1. Este é um recurso de segurança para evitar certos tipos de ataques de reflexão contra o sistema.
A Microsoft tem um artigo da base de conhecimento descrevendo soluções alternativas. Eles basicamente se resumem a modificar o registro para desabilitar a verificação de loopback ou para permitir que certos nomes de host (por exemplo, o nome do host local ou o nome do site) façam a conexão reversa.
Você pode desativar rapidamente a verificação via PowerShell:
New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name "DisableLoopbackCheck" -Value "1" -PropertyType dword
Abaixo estão as instruções oficiais da Microsoft. Observe que, embora as instruções abaixo indiquem uma reinicialização, descobri que o IE normalmente recupera a alteração imediatamente.
Método 1: especificar nomes de host (método preferencial se a autenticação NTLM for desejada)
- Defina a entrada de registro DisableStrictNameChecking como 1 .
- Clique em Iniciar , clique em Executar , digite regedit e clique em OK .
- No Editor do Registro, localize e clique na seguinte chave do Registro:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
- Clique com o botão direito do mouse em MSV1_0 , aponte para Novo e clique em Valor de várias sequências .
- Digite BackConnectionHostNames e, em seguida, pressione
ENTER
. - Clique com o botão direito do mouse em BackConnectionHostNames e clique em Modificar .
- Na caixa Dados do valor , digite o nome do host ou os nomes de host dos sites que estão no computador local e clique em OK .
- Encerre o Editor do Registro e reinicie o
IISAdmin
service.
Método 2: Desabilitar a verificação de loopback (método menos recomendado)
- Defina a entrada de registro DisableStrictNameChecking como 1 .
- Clique em Iniciar , clique em Executar , digite regedit e clique em OK .
- No Editor do Registro, localize e clique na seguinte chave do Registro:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
- Clique com o botão direito do mouse em Lsa , aponte para Novo e clique em Valor DWORD .
- Digite DisableLoopbackCheck e, em seguida, pressione
ENTER
. - Clique com o botão direito do mouse em DisableLoopbackCheck e clique em Modificar .
- Na caixa Dados do valor , digite 1 e clique em OK .
- Encerre o Editor do Registro e reinicie o computador.
Adendo:
Para definir a entrada de registro DisableStrictNameChecking como 1:
- Clique em Iniciar , clique em Executar , digite regedit e clique em OK .
- No Editor do Registro, localize e clique na seguinte chave do Registro:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters
- Clique com o botão direito do mouse em Parâmetros , aponte para Novo e clique em Valor DWORD .
- Digite DisableStrictNameChecking e, em seguida, pressione
ENTER
. - Clique com o botão direito do mouse em DisableStrictNameChecking e clique em Modificar .
- Na caixa Dados do valor , digite 1 e clique em OK .
- Encerre o Editor do Registro e reinicie o computador.