|
Summary: Sometimes not being able to access certain web sites boils down to a simple network configuration tweak that I'll detail here. I can visit a lot of websites on the internet without a problem. But a few simply don't work. The strange thing is that they work for other people, or from other machines. What's going on? I touched on several possibilities for this in a previous article: Why can I not access certain web sites?. I'd certainly recommend that as a starting point. However, since that article was written, an additional reason for some websites not being accessible has surfaced that's worth looking into in a little more detail. It's very obscure, but the good news is that it might also resolve some other problems, most commonly problems with instant messaging. • The issue is an obscure setting called "MTU", which stands for Maximum Transmission Unit, in the network configuration. I'll describe it in a little more detail in a second, but first if you're having a problem, let's look at your current setting, and perhaps try tweaking it. MTU is buried in the registry, but rather than edit the registry directly, there's a small program you can download for free that will allow you to view and change the MTU settings: DrTCP. Download and run the latest version, and you should see something like this:
I know it looks a little intimidating, but don't worry. We're going to pay attention to only the two items in Adapter Settings. You can safely ignore the rest. First we need to make sure that the correct network connection or "adapter" is selected. Even if you have only one network connection, there are often several others. In Adapter Settings the field on the left is a dropdown list of all the network adapters on your system:
"If the MTU setting is causing you problems accessing
some web sites, it's probably because it's set too high"
Make sure that the adapter that corresponds to your internet connection is selected. Normally that'll be the adapter that provides you your "Local Area Connection" - as you can see in my case it's an Intel PRO/1000 card. Once it's been selected the field on the right within Adapter Settings will show the MTU setting currently in use for that adapter. If the MTU setting is causing you problems accessing some web sites, it's probably because it's set too high. As you can see my default is 1500, which is appropriate for an ethernet connection, and probably the highest you'd ever want to see it. Unless you're on a dial-up connection, larger numbers make for a somewhat faster network connection - unless it doesn't work at all. Write down the MTU value you found to start with, and then try these values in order:
Do that by replacing the value in the MTU field (again, making sure that the correct adapter is selected), and clicking Save, and then Exit. You will then need to reboot and test to see if the new value has corrected the problem. Important: if the smaller values don't resolve your problem, then do remember to reset the MTU value to whatever it was when you started. • So that's all been pretty much black magic and obscure numbers. What does it all mean? When information is transferred across a network, it's broken into chunks called "packets". The Maximum Transmission Unit is related to the largest packet size that your computer will attempt to send. Each packet has "overhead" - information that is not data, but rather information that says things like "I'm packet #13, coming from this IP address, heading for that IP address". Larger packets are more efficient in reliable networks, because since the overhead is fixed per packet, you spend a higher percentage of your time sending actual data and less on overhead. A 1500 byte packet with 1460 bytes, or 97% real data is more efficient than a 576 byte packet with only 536 bytes, or 93% data. There are also other factors including latency, packet delays and the like that make larger packets more efficient. Unless the network is unreliable. That's why you'll often see smaller maximum sizes on dial-up networks. If a packet gets lost, which does happen from time to time, a smaller packet is more efficient to re-send than a larger one. You can see that it's not just magic, but also fairly complex. But it does boil down to the characteristics of the network between you and the site or service that you're attempting to use. The "standard" values for MTU are typically:
If you're connected to the internet via equipment that requires a smaller value, or, while rare, the remote site you're trying to access is connected via equipment that requires a smaller value, you'll simply be unable to connect. Adjusting your MTU value is one thing to try. Update: another common reason for not being able to visit certain websites is detailed here: Why did my home network stop working? Related:
Article 10162 | Posted April 15, 2006 |
Stay Informed Archives Advertisers |
•
I didn't have a number at all in the MTU field. I put in 1500 and it solved the problem. Hope that it was okay to put in the highest. Thanks!!!
Posted by: Jill at June 3, 2008 01:56 PMI had to use another computer to down load DrTCP and transfer it to my computer with this same problem ... it did NOT fix the problem.
SOmething else is wrong. Whatever it is - it is pretty smart ... I cannot download windows updates, virus scan software ... those websites do NOT work or gets stuck after a while ...
I tried web based scanners (from the websites that I can access) - nothing comes up after several hours of scanning.
this computer with problem has
Windows XP Professional SP2
Websites like Yahoo, Google do NOT work few others (www.msn.com) work fine
I have been trying to fix this problem for the last 7 days about 40-50 hours spent so far.
I am not totally computer illiterate ...
Other machines (laptops) work fine through the same ISP and router!
Couple of experts I spoke with in my town said they had similar problems and ended up reinstalling Windows and starting all over again with their machines that are taken over by this demon, whatever it is.
Posted by: Jamure at June 24, 2008 12:57 PMAdditinal Info:
I started my computer in SafeMode -- ie SafeMode+Networking mode -- and the websites that did not work before seem to work now -- so whatever the problem is getting kicked in only when we start the windows in full mode.
For people who don't know how to start SafeMode -- start hitting F8 key while your system is booting up like crazy -- it will take you to a screen where you can use up and down arrow keys to select SafeMode with Networking. If you start just SafeMode (without the Networking loaded) then you cannot access anything outside your own computer - no internet, no other computers.
Posted by: Jamure at June 26, 2008 03:12 PMI have this problem since I updated Windows yesterday, I cant seem to access one or 2 websites that I used to access daily, I can access them from my MAC wirelesly or my iPhone, but not from my windows machine.
I tried this settings, on the PC box, and the Router, none of the solve my problem.
Please Advise
PS: i tried WinSOCK as well.
Posted by: Alex at June 28, 2008 08:26 PMBy the way, I can Access the Website using HTTPS but not reguarly ( the section i need, does not use HTTPS :@ )
Posted by: Alex at June 28, 2008 08:38 PMHey Guys,
Just Wanna let you know I was able to Resolve the problem.
I tried Turning Off the Hosts File via CMD and the site worked, so I went ahead and opened the Hosts file with notepad and search for the the website I was trying to access.
For some Weird Reason, it was added to the block list with an loop Ip to resolve on.
Cheers.
Posted by: Alex at June 29, 2008 09:28 PMAlex
Thanks, your suggestion helps me resolve my browsing problem. This happens after the ISP technician replaced my defective modem. I change my router MTU setting to 576 and it works well now. Thanks again
Posted by: Ed at July 3, 2008 11:14 PMA problem that had been driving me mental is now fixed. Mucho gracias, great tip
Posted by: Oscar at August 23, 2008 12:21 PMYes! This worked perfectly. For some reason, all of the domains I own (which are all hosted from the same IP) went dark for me. I couldn't see a single one, but everyone else in the world can. So, I did the instructions above, however, my MTU had nothing in the box, so I entered 1500 and presto! I could see all of my sites again.
Thanks!
Posted by: Josh C at September 4, 2008 08:20 PMI have AT&T Wireless broadband on my laptop and I can't bring up the www.hotmail.com sign in page all of a sudden today; yet, I can on my iPhone. Is this a provider issue, hotmail issue, hurricane issue (I'm in south Texas) or something else? I can get on every other site out there.
Posted by: Cheri at September 16, 2008 07:09 PM