Cannot Connect to Windows Home Server Solution
Date Published: 28 March 2009
I have an HP MediaSmart 470 Home Server(previous post) that I like very much for its ease-of-use and simple ability to back up my home network’s computers and act as a streaming media server. However, one of my computers stopped being able to connect to it. Since it was my laptop, and I have another WHS at my office that is also backing up the same machine, I didn’t worry too much about it, but eventually it bothered me enough to investigate and ultimately fix. The primary culprit, it turns out, is OpenDNS.
OpenDNS is a DNS provider that offers some additional services, such as web content filtering and anti-phishing protection. Since our daughter is old enough to be into things like Webkinz and other online activities, OpenDNS is a pretty nice way to easily provide “net-nanny” like functionality to the entire household internet, without having to install anything on individual computers. I’ve been using it for probably six months now and overall I’ve been pretty happy with it.
Unfortunately, OpenDNS does some “creative” things in order to achieve its functionality, that don’t apparently follow RFCs for standard Internet protocols like DNS. Thus, problems with Windows Home Server (and other LAN connectivity) can arise. Searching for something like “cannot connect to windows home server” yields quite a few results, and eventually I was able to narrow down some that were helpful. By far the best one for resolving the OpenDNS issue was here.
With OpenDNS configured in my router’s DNS, if I attempt to ping some non-existent machine on my network, I’ll get back something like this:
Pinging foo.MyNetwork [126.96.36.199] with 32 bytes of data:
If I ping my windows home server, I would get the same thing. However, its actual IP address is 192.168.0.100. The problem is that OpenDNS doesn’t simply fail when it doesn’t have an entry for an item (allowing another lookup like NetBIOS to take over at the LAN level), but instead it always returns an IP address.
In order to correct this behavior for specific, known machines on your LAN (assuming you don’t want to just abandon OpenDNS), you can follow the instructions in this KB article:
*Typo Exceptions provides a simple solution.*
Note that if your router has a domain set, then you can’t just add your machine “foo” to this exception list. You must include it as “foo.MyNetwork” for the exception to work.
Another workaround if you can’t change your OpenDNS settings is to modify your Hosts file, as described here.
This turned out not to be my only issue with Windows Home Server, but it was the main one. I also had trouble connecting to the WHS using the connector software until I reinstalled it. Assuming you can get to your server via Windows Explorer, you should try reinstalling the software from
SERVERNAMESoftwareHome Server Connector SoftwareWHSConnector.msi
Note that by default your server’s name is probably “Server” – in any event, replace SERVERNAME with the actual name or IP address of your server. Here’s a forum thread(one of many online) with a bit more on reinstalling WHSConnector.
Of course, restarting your WHS, or your router, or your PC, is always worth a shot. I’ve even heard of some people reporting success with restarting their cable modem.
Others have reported that various addins, such as McAfee, can be responsible for problems connecting to your WHS. So far, that hasn’t been my issue. It may be that such addins strain the resources of the machine, which only ships with 512mb of RAM. Upgrading your HP MediaSmart WHS to 2GB of RAM is very inexpensive ($25 or less)and is no longer something that will void your warranty. Here’s a guide to upgrading the memory in your HP EX470 or EX475. I haven’t upgraded mine yet, but plan to do so soon after seeing how much the machine is using its pagefile (typically over 650MB of RAM allocated).
Finally, remember that you likely can use Remote Desktop to connect to your WHS, even when the connector software doesn’t work. This can sometimes help in gathering diagnostic information, such as the load on the server and its IP address. You’ll find the Remote Desktop software on most windows installations under Start-Programs-Accessories (sometimes under Communications). In Vista just type Remote Desktop in the Start dialog.
If you’ve had any issues with your WHS or HP MediaSmart, and have a fix to report, please add it in the comments below.
Steve is an experienced software architect and trainer, focusing on code quality and Domain-Driven Design with .NET.