2017-09-26 52 views
-1

我在Mac中有Eclipse,当我试图调试应用程序时,它向我抛出此错误。无法在Eclipse中调试(Mac)

ERROR: transport error 202: gethostbyname: unknown host ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]......

即使“Ping本地主机”命令没有获取结果。 谷歌搜索了很多,但没有解决方案的作品。

+0

是否打开MacOS的防火墙关闭改变什么? –

回答

0

检查/ etc /主机如果127.0.0.1 localhost被注释掉

又读this