Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am developing on Windows Server 2003 with VSTS 2008 + C# + .Net 3.5 to develop a console application. The console application is used to get the content of some URL and analyze its content.

I find a strange thing, my computer can access any URL (get page content) either in programming way or from browser. But except *.microsoft.com (e.g. www.microsoft.com, update.microsoft.com) -- from both my code and the browser, the page cannot be opened. I am very confused. Any ideas how to check the root cause? Any tools/settings which could be used to block this special domain?

I tried with Firefox and IE, the same issue. I am wondering whether some global settings which block accessing to some domains? I use the same network cable on another computer in the same room, and microsoft.com can be accessed.

thanks in advance, George

share|improve this question

migrated from stackoverflow.com Nov 26 '09 at 6:13

This question came from our site for professional and enthusiast programmers.

1  
Do the two computers have the same proxy server settings? For both wininet and winhttp? –  Marc Gravell Nov 26 '09 at 5:37
1  
This probably belongs on superuser.com, it doesn't sound directly related to VS, C# or .NET. –  Si Nov 26 '09 at 5:37
    
"same proxy server settings" -- Marc, do you mean the network connection settings from IE --> Connections? Both computers are using automatic detect and no explicit proxy server set. Any ideas to analyze further? I am not sure how to check the individual settings for wininet and winhttp? Could you provide some guides? –  George2 Nov 26 '09 at 5:38
1  
IE=wininet, but it sounds like that isn't an issue. I think we've exhausted the obvious "dev" options where this is a programming question. I'm going to move this to "serverfault" - follow the "migrated to" link... –  Marc Gravell Nov 26 '09 at 6:13

1 Answer 1

up vote 2 down vote accepted

Check your hosts file for anything odd. It may be an indication that you've picked up some malware or a virus, which is stopping you from updating the O/S from Microsoft.

You could also try the tracert command: tracert www.microsoft.com for clues. Atlhough if you use a proxy or block ICMP it won't work.

share|improve this answer
    
The hosts file only contains localhost mapping to 127.0.0.1, is that correct? –  George2 Nov 26 '09 at 5:36
    
"same proxy server settings" -- Marc, do you mean the network connection settings from IE --> Connections? Both computers are using automatic detect and no explicit proxy server set. Any ideas to analyze further? –  George2 Nov 26 '09 at 5:37
1  
If you read the link, hosts file can be used to block or redirect a (dns) site. If hosts has only got the default localhost then that's not it. If you're not using a proxy, what does tracert output show? –  Si Nov 26 '09 at 5:46
    
"If you're not using a proxy" -- I am using DHCP, I do not need to set things like DNS. I just set automatic detect in IE connection settings. Does it mean I am not usnig a proxy? –  George2 Nov 26 '09 at 6:07
    
Cool, question answered! –  George2 Nov 27 '09 at 11:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.