Solved

"network location cannot be reached"  error with multiple ip's

Posted on 2008-09-30
3
905 Views
Last Modified: 2012-05-05
I have a few sites on an IIS6 server. The web sites which are attached to a certain ip address work fine.
The other web sites which are attached  to other ip addresses give a
"network location cannot be reached... " error when I try to start them.

I did a httpcfg query iplisten and noticed there's a single ip address listed. It's the one which the working sites are using.

So I used the httpcfg to add the rest of the ip addresses and rebooted.
I noticed none of the sites work anymore and I get a "process cannot access the file because it is being used by another process" error

So I figured only a single ip address can be bind. So I removed them with the httpcfg command and rebooted and came back to the initial issue.

So what is the issue exactly? Is it correct that only a single ip address should be in the listen list?
Why am I getting the "network location cannot be reached" message? Is it because the ip address is not in the listen list but if I add it, it causes another issue.
I am missing something.
0
Comment
Question by:jentel2
  • 2
3 Comments
 
LVL 17

Expert Comment

by:Andres Perales
ID: 22608884
If you have multiple websites on one webserver, you will need to add multiple IP addresses to the server.
How to assign multiple IP addresses to the same NIC

If you want to assign more than one IP address to a network card follow the steps below. Right-click on My Network Places, choose Properties. Right-click on the Local Area Connection, choose Properties.

Highlight Internet Protocol (TCP/IP), click Properties.

If you use DHCP, you should disable it: click Use the following IP address and enter IP address, Subnet mask and Default gateway. Click Advanced... at the bottom.

Enter additional IP addresses: click the Add... button and enter a new IP address and Subnet mask.

Once you have done that then you can open IIS Manager, and you can then assign a separate IP address to each separate website that you have listed in IIS.
You will need to have a separate IP address for all the websites or for the websites that you want to use the same leave the drop down setting as unassigned and then make sure you use host headers for those websites.
As long as you are using host headers for the websites that are unassigned or a separate IP address for each of the sites you should not have a problem.
Hope that helps.
0
 

Author Comment

by:jentel2
ID: 22609419
I forgot to mention these addresses are already on the nic.

IIS manager wouldn't show these addresses if the server didn't have them in its tcp/ip configuration.

The host headers are set up correctly. Also the absence of them or wrong values will not cause the error I am having. Host headers are used when a request comes in, not when I try to start the web site.



0
 

Accepted Solution

by:
jentel2 earned 0 total points
ID: 22629837
After some more troubleshooting, the solution was to use httpcfg to add ip addresses without specifying post numbers.
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Suggested Solutions

I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now