Just now I added IIS in my system. And I try to start Default Web Site in IIS. But it will throwing following error,
The format of the specified network name is invalid (Exception from HRESULT:0x800704BE)
Here my Screen-shot,
So, I don't know what i did..? Then I fail to see how can I solve this problem.
How should I solve this exception?
It may be because the IP 127.0.0.1 - localhost may not listen by computer
Check with below command in command prompt:
netsh http show iplisten
It should return the 127.0.0.1
.
If it is not there then add it to using below command:
netsh http add iplisten 127.0.0.1
If the IP address is successfully added, you receive the following message: IP address successfully added.
Please follow these steps to solve this issue:
netsh http show iplisten
(this will list just one IP of your machine)
netsh http delete iplisten ipaddress=11.22.33.44
(where 11.22.33.44 is the IP received from #1)
netsh http add iplisten ipaddress=0.0.0.0
(if you dont want to open for all IPs then just pass single IP)
iisreset
User contributions licensed under CC BY-SA 3.0