现象

弹出 Cannot connect to VM

Console 中的输出是:
ERROR: transport error 202: connect failed: Connection refused
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]
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)

解决方法

我的 /etc/hosts 中又一行信息为:10.20.10.103 localhost
注释掉就可以了

相关文章:

  • 2022-02-02
  • 2021-07-28
  • 2022-12-23
  • 2022-12-23
  • 2021-06-03
  • 2021-07-30
  • 2022-01-13
猜你喜欢
  • 2021-10-17
  • 2022-12-23
  • 2021-12-01
  • 2021-07-17
  • 2022-01-19
  • 2021-09-28
  • 2022-02-21
相关资源
相似解决方案