1. 找到 C:\Windows\System32\drivers\etc 下的 hosts 文件 2. 在最后一行添加 :IP地址 名字(用TAB键隔开) 1.可添加多个; 2.修改之后,peer1 和 localhost 都是一样的效果