debug运行java程序报错

debug运行java程序报错

ERROR: transport error 202: connect failed: Connection timed out  
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]  
错误代码

虚拟机连接超时原因:防火墙将Java相关的拦截了!

解决方法:

再次debug运行java程序!

原文地址:https://www.cnblogs.com/brokencolor/p/8435661.html