在c:/windows/system32/drivers/etc/目录下找到hosts文件,用记事本打开,并添加: 192.168.1.102 computer-name 前面是本机IP地址 后面是计算机名称