Crunk in OSx

Q: Safari:because the server where this page is located isn't responding

Safari:because the server where this page is located isn't responding

 

 

I try to open the   www.youtube.com

On any browser shows because the server where this page is located isn't responding.....

 

What should I do???   Its works before I go to China, I just get back on yesterday...

 

I still not find out how to fix it...

MacBook Pro (13-inch Mid 2012), OS X Mountain Lion (10.8.4)

Posted on Sep 12, 2013 8:02 PM

Close

Q: Safari:because the server where this page is located isn't responding

  • All replies
  • Helpful answers

  • by Linc Davis,

    Linc Davis Linc Davis Sep 12, 2013 8:50 PM in response to Crunk in OSx
    Level 10 (208,000 points)
    Applications
    Sep 12, 2013 8:50 PM in response to Crunk in OSx
  • by Crunk in OSx,

    Crunk in OSx Crunk in OSx Sep 12, 2013 9:16 PM in response to Linc Davis
    Level 1 (4 points)
    iPhone
    Sep 12, 2013 9:16 PM in response to Linc Davis

    I am in the US.

  • by Grant Bennet-Alder,

    Grant Bennet-Alder Grant Bennet-Alder Sep 12, 2013 9:20 PM in response to Crunk in OSx
    Level 9 (61,130 points)
    Desktops
    Sep 12, 2013 9:20 PM in response to Crunk in OSx

    ...and what are you using for your Domain Name Server (DNS)? one that says you are still in China?

  • by Crunk in OSx,

    Crunk in OSx Crunk in OSx Sep 12, 2013 9:32 PM in response to Grant Bennet-Alder
    Level 1 (4 points)
    iPhone
    Sep 12, 2013 9:32 PM in response to Grant Bennet-Alder

    I tried 8.8.8.8

    0.0.0.0

    and now is 192.168.10.1

     

    I can get on facebook, google,twitter but Youtube.....

  • by Linc Davis,Solvedanswer

    Linc Davis Linc Davis Sep 12, 2013 9:36 PM in response to Crunk in OSx
    Level 10 (208,000 points)
    Applications
    Sep 12, 2013 9:36 PM in response to Crunk in OSx

    Double-click anywhere in the line of text below on this page to select it, then copy it to the Clipboard (command-C):

    youtube.com

     

    Launch the Network Utility application in any of the following ways:

     

    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

     

    ☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

     

    ☞ Open LaunchPad. Click Utilities, then Network Utility in the icon grid.

     

    Step 1

     

    Select the Lookup tab and paste into the address field (command-V). Press return. Post the output that appears below – the text, please, not a screenshot.

     

    Step 2

     

    Select the Ping tab and do the same. Please enter the same input as you did in Step 1. Don't use the output of Step 1 as input to Step 2.

      

    Important Note

     

    Some web browsers and mail clients will automatically convert a domain name such as "www.example.com" to a clickable URL, such as http://www.example.com. That will interfere with the test. If necessary, edit the input in the Network Utility window to remove any added characters.

  • by Crunk in OSx,

    Crunk in OSx Crunk in OSx Sep 12, 2013 9:37 PM in response to Linc Davis
    Level 1 (4 points)
    iPhone
    Sep 12, 2013 9:37 PM in response to Linc Davis

    Now, I only have 192.168.10.1 under my DNS servers.

     

    In the right side "search domans" I have "socal.rr.com"

  • by Crunk in OSx,

    Crunk in OSx Crunk in OSx Sep 12, 2013 9:47 PM in response to Linc Davis
    Level 1 (4 points)
    iPhone
    Sep 12, 2013 9:47 PM in response to Linc Davis

    Lookup:

    Lookup has started…

     

    Trying "youtube.com"

    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8334

    ;; flags: qr rd ra; QUERY: 1, ANSWER: 16, AUTHORITY: 0, ADDITIONAL: 0

     

    ;; QUESTION SECTION:

    ;youtube.com.                              IN          ANY

     

    ;; ANSWER SECTION:

    youtube.com.                    183          IN          A          74.125.224.192

    youtube.com.                    183          IN          A          74.125.224.193

    youtube.com.                    183          IN          A          74.125.224.194

    youtube.com.                    183          IN          A          74.125.224.195

    youtube.com.                    183          IN          A          74.125.224.196

    youtube.com.                    183          IN          A          74.125.224.197

    youtube.com.                    183          IN          A          74.125.224.198

    youtube.com.                    183          IN          A          74.125.224.199

    youtube.com.                    183          IN          A          74.125.224.200

    youtube.com.                    183          IN          A          74.125.224.201

    youtube.com.                    183          IN          A          74.125.224.206

    youtube.com.                    151          IN          AAAA          2607:f8b0:400e:c02::5d

    youtube.com.                    140875          IN          NS          ns1.google.com.

    youtube.com.                    140875          IN          NS          ns4.google.com.

    youtube.com.                    140875          IN          NS          ns2.google.com.

    youtube.com.                    140875          IN          NS          ns3.google.com.

     

    Received 312 bytes from 192.168.10.1#53 in 23 ms

     

     

    Ping:

    Ping has started…

     

    PING youtube.com (203.208.39.104): 56 data bytes

    Request timeout for icmp_seq 0

    Request timeout for icmp_seq 1

    Request timeout for icmp_seq 2

    Request timeout for icmp_seq 3

    Request timeout for icmp_seq 4

    Request timeout for icmp_seq 5

    Request timeout for icmp_seq 6

    Request timeout for icmp_seq 7

    Request timeout for icmp_seq 8

     

    --- youtube.com ping statistics ---

    10 packets transmitted, 0 packets received, 100.0% packet loss

  • by Linc Davis,Helpful

    Linc Davis Linc Davis Sep 12, 2013 11:21 PM in response to Crunk in OSx
    Level 10 (208,000 points)
    Applications
    Sep 12, 2013 11:21 PM in response to Crunk in OSx

    You, or someone using your computer, hacked the operating system, perhaps unknowingly. The file modified is /etc/hosts.
          
    The easiest way to fix the hosts file is to restore it from a backup that predates the modification, or to copy the unmodified file from another Mac. If you can't do that, then do as below. Please read this whole message before doing anything.

     

    Back up all data. This is a simple procedure, but if you don't follow the instructions exactly, you could be left with an unbootable system. In that case, you'll have to restore from a backup or reinstall OS X.

     

     

    If you have more than one user account, you must be logged in as an administrator.

         

     

    Triple-click anywhere in the line below to select it:

    open -e /etc/hosts

      

    Copy the selected text to the Clipboard (command-C).

      

    Launch the Terminal application in any of the following ways:

     

    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

     

    ☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

     

    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.

     

     

    Paste into the Terminal window (command-V). A TextEdit window should open. At the top of the window, you should see this:

     

    ##

    # Host Database

    #

    # localhost is used to configure the loopback interface

    # when the system is booting.  Do not change this entry.

    ##

    127.0.0.1                              localhost

    255.255.255.255          broadcasthost

    ::1                                        localhost

    fe80::1%lo0                    localhost

     

    Below that, you'll see some other lines. There should be nothing above the first line "##". If you have any doubt about that, STOP and ask for guidance. Make sure you scroll all the way to the bottom of the document. Scroll bars are hidden by default until you actually start scrolling, so you may not realize that you’re not seeing the whole document.

     

    If the contents of the TextEdit window are as described, close it, then enter the following command in the Terminal window in the same way as before (by copy and paste):

     

    sudo sed -i~ '11,$d' /etc/hosts

      

    This time, you'll be prompted for your login password, which won't be displayed when you type it. If you don’t have a login password, you’ll need to set one before you can run the command. You may get a one-time warning to be careful. Confirm. Quit Terminal.

      

    If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. Log in as one and start over.

      

    That will fix the hosts file. There is now a copy of the old hosts file with the name "hosts~" in the same folder as "hosts". You can delete the copy if you wish. Don't delete the file named "hosts".

  • by Crunk in OSx,

    Crunk in OSx Crunk in OSx Sep 13, 2013 12:48 AM in response to Linc Davis
    Level 1 (4 points)
    iPhone
    Sep 13, 2013 12:48 AM in response to Linc Davis

    I follow the direction, and when I finish type my password then press enter, terminal actually didn't reply any message but just my user name.

    so at end where can i find the hosts file? 

  • by Crunk in OSx,

    Crunk in OSx Crunk in OSx Sep 13, 2013 1:09 AM in response to Linc Davis
    Level 1 (4 points)
    iPhone
    Sep 13, 2013 1:09 AM in response to Linc Davis

    Thanks, work great, but I still don't understand how does it work, thank you so much anyway.

     

    sudo sed -i~ '11,$d' /etc/hosts

     

    this code means restore the hosts file right??

    now I go back to see my host list their is no more lines under the

    ##

    # Host Database

    #

    # localhost is used to configure the loopback interface

    # when the system is booting.  Do not change this entry.

    ##

    127.0.0.1                              localhost

    255.255.255.255          broadcasthost

    ::1                                        localhost

    fe80::1%lo0                    localhost

  • by Linc Davis,

    Linc Davis Linc Davis Sep 13, 2013 8:41 AM in response to Crunk in OSx
    Level 10 (208,000 points)
    Applications
    Sep 13, 2013 8:41 AM in response to Crunk in OSx

    That's what it should be.

  • by DD-Z,

    DD-Z DD-Z Jan 28, 2014 6:24 PM in response to Linc Davis
    Level 1 (0 points)
    Jan 28, 2014 6:24 PM in response to Linc Davis

    I'm having the same problem with Safari/Chrome and Facebook.  I'm in the US and this machine has never left the country.  This problem just started occurring yesterday.  I have used look up and ping as suggested and here are my results.  Can you please assist me in solving this problem?

     

    Lookup has started…

     

    Trying "www.facebook.com"

    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31112

    ;; flags: qr ra; QUERY: 0, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

     

    Received 13 bytes from 192.168.1.1#53 in 5716 ms

     

    and for ping...

     

    Ping has started…

     

    PING www.facebook.com (31.13.75.17): 56 data bytes

    Request timeout for icmp_seq 0

    Request timeout for icmp_seq 1

    Request timeout for icmp_seq 2

    Request timeout for icmp_seq 3

    Request timeout for icmp_seq 4

    36 bytes from facebook-in.edge1.sanjose2.level3.net (4.28.172.14): Destination Net Unreachable

    Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst

    4  5  00 5400 dd63   0 0000  36  01 7af2 192.168.1.141  31.13.75.17

     

    Request timeout for icmp_seq 5

    36 bytes from facebook-in.edge1.sanjose2.level3.net (4.28.172.14): Destination Net Unreachable

    Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst

    4  5  00 5400 4e7b   0 0000  36  01 09db 192.168.1.141  31.13.75.17

     

    Request timeout for icmp_seq 6

    Request timeout for icmp_seq 7

    Request timeout for icmp_seq 8

     

    --- www.facebook.com ping statistics ---

    10 packets transmitted, 0 packets received, 100.0% packet loss


     

    Any help you could provide would be much appreciated.  Thanks!

  • by myipod182,

    myipod182 myipod182 Sep 26, 2016 6:44 AM in response to DD-Z
    Level 1 (8 points)
    Desktops
    Sep 26, 2016 6:44 AM in response to DD-Z

    I wonder if i will run into other sites and pages that i cannot access and have to physically go to other locations in order to access.