尝试在 iPhone、iPad 或Mac上的(Mac)Safari网络浏览器中加载网站时,您是否一直收到“ Safari无法找到(Find)服务器”或“ Safari无法打开页面”错误?我们将向您展示如何解决该问题。
Safari在无法将服务器定位到网站时显示“找不到服务器”错误。这可能由于多种原因而发生。
例如,您可能输入了错误的URL,站点的服务器可能已关闭,或者DNS缓存可能已损坏。通过以下修复程序解决 iPhone、iPad 和Mac上的错误。
仔细检查域名
不小心输入错误的域名是 Safari 出现“找不到服务器”错误的常见原因。仔细检查地址栏。如果您发现拼写错误,请更正并按或点击Enter。添加(Adding)或删除 www 前缀也可以帮助您避免错误。
如果不确定,请在Google或其他搜索引擎中搜索该网站,然后点击相关搜索结果。这将加载正确的URL。
排除服务器问题
接下来,检查站点是否存在任何服务器问题。使用IsItDownRightNow(IsItDownRightNow?)等实时状态监控工具?或Down for Everyone 或 Just Me(Down for Everyone or Just Me) for that。
如果该站点显示为可访问,则您已将问题与您的设备或网络隔离开来。如果每个人都失败了,请等到服务器重新上线。或者,通过电子邮件或社交媒体通知该网站的网站管理员。
重启你的路由器
重新启动路由器是解决互联网连接随机问题的好方法。按路由器上的电源(Power)按钮将其关闭,等待大约一分钟,然后重新打开。如果这没有帮助,最好重置路由器(reset your router)。
或者,如果可能,连接到不同的无线网络并检查是否会消除错误。在 iPhone 上,从Wi-Fi切换到蜂窝网络或反之亦然也可能有助于解决问题。
刷新 DNS 缓存
iPhone 或Mac上过时的DNS(域名系统)缓存是阻止(DNS (Domain Name System) cache)Safari浏览器定位站点服务器的另一个原因。刷新它将强制浏览器从头开始解析网址。
苹果手机
在 iOS 中没有直接刷新DNS缓存的方法。(DNS)相反,请尝试以下操作:
切换飞行模式(Airplane Mode):从 iPhone 屏幕左上角向下滑动,打开飞行模式(Airplane Mode),然后关闭。
重启 iPhone(Restart your iPhone):打开 iPhone 上的“设置”(Settings)应用,点击“General > Shutdown”,然后向右拖动电源(Power)图标以关闭设备。等待(Wait)至少 30 秒,然后按住侧面(Side)按钮重新启动它。
重置 iPhone 的网络设置(Reset your iPhone’s network settings):打开设置(Settings)应用程序,然后点击General > Transfer或重置(Reset)iPhone > Reset > Reset Network Settings。
苹果电脑
您可以通过终端(Terminal)运行命令来刷新 macOS 中的DNS缓存。要做到这一点:
1. 打开Launchpad并选择其他 >终端(Terminal)。
2. 运行以下命令:
sudo killall -HUP mDNSResponder
3. 输入您的 Mac 管理员密码,然后按Enter。
修改 DNS 设置
流行的 DNS 服务(popular DNS service)(例如Google DNS)可以提高 Safari 定位网站服务器的几率。以下是如何在 iPhone 和Mac上将(Mac)Google DNS设置为网络的DNS解析器。
苹果手机
1. 打开设置并点击 Wi-Fi。
2. 点击Wi-Fi 名称或SSID旁边的信息(Info)图标。
3.向下滚动(Scroll)并选择配置 DNS(Configure DNS)。
4. 点击手动(Manual)并将现有条目替换为以下Google DNS服务器地址:
8.8.8.8
8.8.4.4
5. 点击保存。
如果要更改 iPhone 蜂窝网络的DNS设置,则必须使用第三方应用程序,例如DNS Override。
苹果电脑
1. 选择菜单栏上的Apple图标,然后选择(Apple)System Preferences。
2. 选择网络类别。
3. 选择无线网络(Wi-Fi)。如果您的Mac在有线网络上,请选取“以太网(Ethernet)” 。
4. 选择高级按钮。
5. 切换到DNS选项卡。然后,将Wi-Fi(Wi-Fi)网络或以太网(Ethernet)连接的当前DNS服务器替换为以下条目:
8.8.8.8
8.8.4.4
6.Select OK > Apply以保存您的更改。
禁用内容拦截器
广告拦截扩展可能会在加载网站时导致Safari出现各种问题。(Safari)如果问题仍然存在,请尝试在不受内容拦截器干扰的情况下加载网站。
苹果手机
在 iPhone 上,点击URL(URL)栏旁边的 AA 按钮,然后选择关闭(Turn)内容拦截(Content Blockers)器。
如果有帮助,请将该站点添加到 Safari 的内容阻止排除列表中。再次选择 AA 按钮,点击网站设置,然后停用(Website Settings)使用内容拦截(Use Content Blockers)器旁边的开关。然后,点击完成(Done)。
苹果电脑
在Mac上,将光标悬停在地址栏上。然后,按住 Control 并单击(Control-click)Reload图标(Reload)并选择Reload without Content Blockers。
如果这有帮助,您可以将该站点添加到内容阻止程序的排除列表中。要做到这一点:
1. 打开 Safari 的首选项窗格。
2. 切换到网站(Websites)选项卡并选择侧边栏上的内容(Content) 拦截(Blockers)器。
3. 打开网站旁边的下拉菜单并选择关闭(Off)。
清除 Safari 缓存
解决 Safari 的“找不到服务器”错误的另一种方法是清除 Safari 的网页缓存。
苹果手机
1. 打开设置应用程序。
2. 向下滚动并点击 Safari。
3. 点击清除历史记录(History)和网站数据(Website Data)。
苹果电脑
1. 打开Safari菜单并选择清除历史记录(History)。
2. 将清除所有历史记录。
3. 选择清除历史记录。
禁用私人中继
如果您使用 iCloud+,您的 iPhone 或Mac将通过加密您的互联网流量来增强您的隐私。但是,这也可能会阻止Safari连接到站点的服务器。考虑禁用该功能。
苹果手机
1. 打开设置(Settings)应用程序并点击您的个人资料照片。
2. 选择 iCloud >私人中继(Private Relay)(测试版(Beta))。
3. 关闭Private Relay ( Beta ) 旁边的开关。
苹果电脑
1. 打开Apple菜单并选择系统偏好设置(System Preferences)。
2. 选择标有Apple ID的类别。
3. 清除Private Relay(Private Relay) ( Beta )旁边的框。
服务器在 Safari 中可用
本故障排除指南中的提示有望帮助您解决 Safari 的“找不到服务器”问题。将上面的一些更直接的修复提交(Commit)到内存中——清除DNS缓存并在没有内容阻止程序的情况下加载站点——这样你就知道如果再次遇到问题该怎么办。
如果上述修复均无济于事,请使用其他浏览器,例如Google Chrome或Firefox。如果该站点仍然无法访问,则可能是其 IP 地址在您所在的国家或地区被阻止。使用代理服务器(Use a proxy server)或VPN 服务绕过限制(VPN service to bypass the restriction)。
How to Fix Safari Can’t Find Server Error
Do you keep receiving a “Safari Can’t Find the Servеr” or “Safari cannot open the page” error while attempting to load a website in the Safari web browser on your iPhone, iPad, or Mac? We’ll show you how to fix that.
Safari displays a “Can’t find server” error when it fails to locate the servers to a website. That can happen for any number of reasons.
For example, you might have mistyped the URL, the site’s servers could be down, or the DNS cache may be corrupt. Work your way through the fixes below to resolve the error on the iPhone, iPad, and Mac.
Double-Check the Domain Name
Accidentally mistyping the domain name is a common reason for Safari’s “Can’t find server” error. Double-check the address bar. If you spot a typo, correct it and press or tap Enter. Adding or removing the www prefix might also help you avoid the error.
If unsure, search for the website in Google or another search engine and tap on the relevant search result. That will load the correct URL.
Rule Out Server Issues
Next, check if there are any server problems with the site. Use a real-time status monitoring tool such as IsItDownRightNow? or Down for Everyone or Just Me for that.
If the site appears reachable, you’ve isolated the issue to your device or network. If it’s down for everyone, wait until the servers come back online. Or, notify the site’s webmaster via email or social media.
Restart Your Router
Restarting the router is a great way to fix random issues with your internet connection. Press the Power button on your router to turn it off, wait for about a minute, and turn it back on. If that doesn’t help, it’s a good idea to reset your router.
Alternatively, connect to a different wireless network if possible and check if that makes the error go away. On the iPhone, switching from Wi-Fi to cellular or vice-versa might also help resolve the issue.
Flush the DNS Cache
An obsolete DNS (Domain Name System) cache on your iPhone or Mac is another reason that could prevent the Safari browser from locating a site’s server. Flushing it will force the browser to resolve the web address from scratch.
iPhone
There’s no straightforward way to flush the DNS cache in iOS. Instead, try the following:
Toggle Airplane Mode: Swipe down from the top left of the iPhone’s screen and toggle Airplane Mode on, then off.
Restart your iPhone: Open the Settings app on your iPhone, tap General > Shutdown, and drag the Power icon to the right to turn off the device. Wait for at least 30 seconds and hold down the Side button to reboot it.
Reset your iPhone’s network settings: Open the Settings app and tap General > Transfer or Reset iPhone > Reset > Reset Network Settings.
Mac
You can flush the DNS cache in macOS by running a command through Terminal. To do that:
1. Open the Launchpad and select Other > Terminal.
2. Run the following command:
sudo killall -HUP mDNSResponder
3. Type in your Mac’s administrator password and press Enter.
Modify DNS Settings
A popular DNS service such as Google DNS can improve Safari’s odds of locating the servers for a website. Here’s how to set Google DNS as your network’s DNS resolver on iPhone and Mac.
iPhone
1. Open Settings and tap Wi-Fi.
2. Tap the Info icon next to the Wi-Fi name or SSID.
3. Scroll down and select Configure DNS.
4. Tap Manual and replace the existing entries with the following Google DNS server addresses:
8.8.8.8
8.8.4.4
5. Tap Save.
If you want to change the DNS settings for your iPhone’s cellular network, you must use a third-party app such as DNS Override.
Mac
1. Select the Apple icon on the menu bar and select System Preferences.
2. Select the Network category.
3. Select Wi-Fi. If your Mac is on a wired network, choose Ethernet.
4. Select the Advanced button.
5. Switch to the DNS tab. Then, replace the current DNS servers for the Wi-Fi network or Ethernet connection with the entries below:
8.8.8.8
8.8.4.4
6. Select OK > Apply to save your changes.
Disable Content Blockers
Ad blocking extensions can cause various issues in Safari while loading websites. If the problem persists, try loading the site without any interference from your content blocker.
iPhone
On the iPhone, tap the AA button next to the URL bar, and select Turn off Content Blockers.
If that helps, add the site to Safari’s content blocking exclusions list. Select the AA button again, tap Website Settings, and deactivate the switch next to Use Content Blockers. Then, tap Done.
Mac
On the Mac, hover your cursor over the address bar. Then, Control-click the Reload icon and select Reload Without Content Blockers.
If that helps, you can add the site to the content blockers’ exclusions list. To do that:
1. Open Safari’s Preferences pane.
2. Switch to the Websites tab and select Content Blockers on the sidebar.
3. Open the drop-down menu next to the website and select Off.
Clear Safari Cache
Another way to address Safari’s “Can’t find server” error involves clearing Safari’s web page cache.
iPhone
1. Open the Settings app.
2. Scroll down and tap Safari.
3. Tap Clear History and Website Data.
Mac
1. Open the Safari menu and select Clear History.
2. Set Clear to all history.
3. Select Clear History.
Disable Private Relay
If you use iCloud+, your iPhone or Mac will enhance your privacy by encrypting your internet traffic. However, that can also prevent Safari from connecting to a site’s servers. Consider disabling the feature.
iPhone
1. Open the Settings app and tap your profile photo.
2. Select iCloud > Private Relay (Beta).
3. Turn off the switch next to Private Relay (Beta).
Mac
1. Open the Apple menu and select System Preferences.
2. Select the category labeled Apple ID.
3. Clear the box next to Private Relay (Beta).
Server Is Available in Safari
The pointers in this troubleshooting guide hopefully helped you fix Safari’s “Can’t find server” issue. Commit some of the more straightforward fixes above to memory—clearing the DNS cache and loading a site without a content blocker—so you know what to do if you run into the issue again.
If none of the fixes above help, use an alternative browser such as Google Chrome or Firefox. If the site remains unreachable, it could be that its IP address is blocked in your country or region. Use a proxy server or VPN service to bypass the restriction.