My Sites


Wednesday, November 4, 2015

Unable to debug in Java with eclipse + Fix

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 [../../../src/share/back/debugInit.c:708]
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)

It seams that in some cases DNS is expected to resolve this, and if
firewall prevents localhost requests to DNS - stuff breaks. I had to
alter hosts file and remove comments in following lines.
# 127.0.0.1 localhost    # ::1 localhost   

No comments:

Post a Comment