Troubleshooting "A connection failure has occurred", "The specified server could not be found" or similar messages
When you attempt to connect to the Internet, you may see alert messages such as:
- "The server could not be found."
"The specified server could not be found."
"A connection failure has occurred."
"Connection attempt failed."
"Name servers not responding."
Despite the alert, some Internet (TCP/IP) applications may function normally.
Tip: In Mac OS X v10.4 or later, you can click the "Assist me" button in the Network preference pane, then follow the onscreen prompts for network diagnostics. However, the following information is good for any version of Mac OS X.
This may be caused by an actual loss of your Internet connection, or it may be caused by having incorrect domain name system (DNS) settings. Here is a simple test: At the affected computer, type this in the address field of your web browser: http://220.127.116.11
- If that address shows you the www.apple.com website content, then you most likely have a DNS issue associated with slow system startup. For more information and specific steps to resolve this issue, see this article.
- If that address does not show you the www.apple.com website content, then see the "Troubleshooting Internet connections" below.
Note: When you access www.apple.com in this manner, you may only get a partial page load, usually text with no pictures. A partial page load indicates that you have a connection, and that you should continue troubleshooting DNS before troubleshooting other aspects of your connection.
Troubleshooting Internet connections
These articles provide Internet connection troubleshooting information:
What does DNS service do?
A DNS server converts DNS names, like "www.apple.com" into their IP address equivalents, such as "18.104.22.168". When you do not have DNS service, your computer cannot find the IP address of the target server based on its DNS name. If you encounter some applications that continue to work, it may be because they are set up to go directly to an IP address, bypassing the need for DNS service. The issue can be resolved by adding a DNS address that is missing, or correcting one that is invalid or mistyped.
Note: Some networks and Internet service providers use a protocol that allows your computer to discover DNS service automatically on the network without manually typing the address. This is why you may not be provided with a DNS server address for your network. If your network provides automatic discovery, you should only encounter the symptoms if you have specified an incorrect DNS address, versus leaving the address field empty, which would not affect your computer. Even when automatic discovery is provided, it is still a valid step to manually enter DNS addresses when troubleshooting an Internet connection issue.
For Mac OS 9
- Open the TCP/IP control panel.
- Locate the "Name Server addr." field. If you see "will be supplied by server" next to this field, then continue to the next step. If you do not see "will be supplied by server", then skip to Step 6.
- Choose User Mode from the Edit menu.
- Select the radio button for Advanced.
- Click OK.
- Type your DNS address in the "Name Server addr." field. If you have more than one, press Return at the end of each address to place the next on a new line.
- Close the control panel, clicking Save when prompted.