Run jdb on Linux 202 migration error: communication failure

when I execute jdb on linux, an error such as

ERROR: transport error 202: bind failed ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/back/debugInit.c:690] FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197) 

my jdk version is jdk_1.6_045

+6
source share
1 answer

Your port 510 may already be in use. Try the following:

From the Linux console, run netstat -ano | grep 510 netstat -ano | grep 510 . Pay attention to the process identifier, and then execute kill <PID> . Try again and it should work ...

+1
source

Source: https://habr.com/ru/post/977459/


All Articles