sathish anish
sathish anish

Reputation: 463

IIS 7.0 - Default Web Site is not working

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,

enter image description here

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?

Upvotes: 5

Views: 6992

Answers (2)

Mukesh Rajput
Mukesh Rajput

Reputation: 755

Please follow these steps to solve this issue:

1. Get currently listed IP:

netsh http show iplisten (this will list just one IP of your machine)

2. Delete old IP with this command:

netsh http delete iplisten ipaddress=11.22.33.44

(where 11.22.33.44 is the IP received from #1)

3. Next, set the service UP to listen to all the IPs:

netsh http add iplisten ipaddress=0.0.0.0

(if you dont want to open for all IPs then just pass single IP)

4. To make these changes reflected, Restart IIS using:

iisreset

Upvotes: 0

Mittal Patel
Mittal Patel

Reputation: 2762

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.

Upvotes: 7

Related Questions