问题一、Linux中使用eclipse调试Java程序提示Cannot connect to VM socket closed。 解决途径:把127.0.0.1 localhost配置到 /etc/hosts文件中。