Windows系统 hosts文件路径:C:\Windows\System32\drivers\etc Linux系统 hosts文件路径:/etc/hosts Mac系统 hosts文件路径:/etc/hosts