打开hosts文件 打开文件路径 C:\Windows\System32\drivers\etc 双击打开hosts 这里我选择用Visual Studio Code打开 在最下面输入ip 空格 域名即可。