问题
I am trying to visit flutter.dev on the chrome browser but it says the site can't be reached.
I tried to visit it using my smartphone and the site is working fine.
What might be causing this issue on Windows 10?
回答1:
The issue is not with chrome but with the router settings, you can use a VPN and it will work fine on Chrome but this is a temporary solution. To fix it you need to change some settings in your Network Settings.
- Go to
Control Panel\Network and Internet\Network Connections
Right click on Wi-Fi and select
Properties
In the Wi-Fi Properties windows, go to
Networking
section, double click onInternet Protocol Version 4 (TCP/IPv4)
In the Internet Protocol Version 4 (TCP/IPv4) window, click on
Advanced...
- In the Advanced TCP/IP Settings windows, go to
DNS
section and selectAppend primary and connection specific DNS suffixes
, under it tick the optionAppend parent suffixes of the primary DNS suffix
and press OK.
- Close Chrome and restart your PC, the issue is fixed.
Reference: https://sufi.io/linux-etcresolv-conf-equivalent-in-windows-8-to-add-domain-suffixes/
If you are facing the same issue on Mac OS, you can check this answer
来源:https://stackoverflow.com/questions/64740426/flutter-dev-not-working-on-google-chrome-browser-windows-10