Why are some websites not accessible from one computer on a network?

0

Possible Duplicate:
Why can't I traceroute or access certain websites in my browser even though I can ping them from terminal?

I'm running a MacBook Pro connected via WiFi to my home router. When I try to access some websites, I get the could not connect error message. Originally I thought the site was down but when I access it on my phone, connected to the same WiFi network, the websites come up fine.

I've tried Firefox, Chrome and Safari and none will load the page. The phone is an Android device. Both the default browser and the Miren browser work ok.

What can cause this?

-- Update --

Not sure if this helps but if I do an nslookup www.website.com it gives me a list of IP addresses. These match the addresses that come up if I Google the IP address of the site. If I just use the IP address in the browser eg http:// It still fails to come up.

sickgemini

Posted 2011-03-26T21:43:48.900

Reputation: 202

Question was closed 2011-05-06T01:27:42.747

Answers

2

Most of my ideas you couldn't do by mistake, meaning it would only be as a result of a setting you put on. But I figured I'd list them anyway. Ordered in a somewhat most likely to least likely way.

  • You have manually set DNS entries in one of the devices but not the others, e.g. OpenDNS. The DNS server in the unworking device is filtering said website.
  • You've set a proxy for one device but not the other. The proxy is malfunctioning.
  • You're iPhone is accessing the site through 3G. Routing issue between your ISP and the site, but not between AT&T (or whoever) and the site.
  • One device is auto-detecting the proxy but not the other. The proxy is malfunctioning.
  • Malfunctioning round-robin DNS load balancer on the site. DNS is now cached in both of your devices, but only one of the sites is up.
  • Browser cached page in one device but not the other.
  • Manual hosts entry in MacBook points to wrong site.
  • Firewall rule preventing connections to/from MacBook's ip address but not iPhone's address.
  • The site blocks OS X user agent string, but not MobileSafari.

EDIT: Odd. Well, first thing I'd try is a traceroute. From terminal on the Mac, type "traceroute web.site.com" where web.site.com is the site you're trying to access. There's iOS apps that do tracerouting which I would do as well. Make sure the IP address is the same and also check if the routes are wildly different.

emgee

Posted 2011-03-26T21:43:48.900

Reputation: 4 487

Thanks. Been going through these but nothing has got it going yet. I've updated the question a little to cover some of them. – sickgemini – 2011-03-28T22:28:49.633

Added something to test – emgee – 2011-03-28T23:04:18.320

Found this http://superuser.com/questions/261706/why-cant-i-traceroute-or-access-certain-websites-in-my-browser-even-though-i-can Checked my login items and there were a couple related to peer guardian. Removed them and all is good now. Thanks heaps for you help.

– sickgemini – 2011-03-29T11:01:55.590

1

I don't know about Mac, and I don't know why this happens, but on Windows, I flush the DNS cache with:

IPConfig /FlushDNS

and it works fine.

Apparently you can say

dscacheutil -flushcache

in Mac, and it'll do the same thing, though I haven't tested this.

user541686

Posted 2011-03-26T21:43:48.900

Reputation: 21 330

Thanks. Tried the MAC version but no luck. – sickgemini – 2011-03-28T19:54:48.027