Can ping but cannot load site

Hello,

I have a site a site that will not load in Safari or Firefox (I just get an error that the server is not responding).

I can ping the site in terminal just fine and get 0 packet loss. I can also connect to the site with FTP and can upload files.

What can cause this?

Macbook Core 2 Duo: 2.0 GHz, Mac OS X (10.5.2), 120gb hdd/2gb ram

Posted on Mar 30, 2008 10:01 AM

Reply
17 replies

Apr 1, 2008 7:03 AM in response to jdelima

Here's the site - we don't serve indexes so you will probably get the friendly splash screen my brother put up...

telnet keiners.com [80]
Trying 74.54.160.103...
telnet: connect to address 74.54.160.103: Can't assign requested address
telnet: Unable to connect to remote host


Got the same [443] and by leaving the port designation off I got:
telnet: connect to address 74.54.160.103: Operation timed out
telnet: Unable to connect to remote host

Apr 3, 2008 4:46 PM in response to skeelo221

Works from a Windows box. Nice message...

HTTP and HTTPS both respond. CentOS with Apache?

Telnetting into HTTP is interesting... It doesn't just break when i issue a bad command but spews a fair bit of info out. Pics online there from Europe in 2005 and Fall 2007 among other stuff? There isn't a HTTPS site setup, though it responds to tell me that it has the potnetial for it.

The "can't assign requested address" error you get is interesting. Can you traceroute to it and see what you get? Where phyically and topographically are you and server located? The obvious question is "what's changed since you could last connect on either server or Mac side?". Routing or port binding issue?

I don't have a Mac with me to test with right now. If i remember to have a crack at it when I'm back on the Mac I'll let you know how i go.

Apr 3, 2008 11:16 PM in response to skeelo221

The most basic HTTP command you can send is GET, so you'd do:

telnet google.com 80

(If a server is listening on port 80, then telnet will indicated it's connected, and display the escape character.)

then enter:

get

followed by the enter key - you'll get an error response from the HTTP server.

In order to get non-error responses from most modern HTTP servers, you'd need to enter a more complete GET command. Typically, you'd need the URL, the HTTP version, and the Host: directive to select from different sites hosted at the same IP (virtual servers)

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Can ping but cannot load site

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.