1、Hostname lookup failed: host not found IP地址可能存在冲突的情况。因为我是在局域网中进行的测试,所以可能存在虚拟机和其他电脑的IP冲突。修改一下IP就可以了(根据具体情况自己选择)。 指令:sudo ifconfig ethx 192.xxx.xxx.xxx 2、The remote system refused the connection. 可能是本机和虚拟机的防火墙。 关闭虚拟机的防火墙指令:sudo ufw disable