If "Response from :: 1" is displayed as a result, localhost has received the address of IPv6 version. Thus, we need to change it into IPv4.
If you just disable IPv6 in the "Adapter Properties" it won't help. You can correct this situation by editing the registry.
To do this, use the keyboard shortcut Win + R to open the "Run" utility, then type " Regedit " and press the key "Enter".
In the opened registry editor, go to the branch HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters\. Double-click on the "DisabledComponents" parameter. In the opened menu "parameter change", set the "ffffffff" value in hexadecimal notation. If this parameter is not available, press the right button of the mouse and choose "Create DWORD parameter (32 bits)". Specify a name «DisabledComponents» and type the value mentioned above.
Restart the computer to apply the change.
You can check whether this parameter has been applied in a similar way. Type the command 'ping localhost' in the command line. If the priority change is applied correctly, the result should display the value "response from 127.0.0.1".