Debug:Cannot connect to VM Socket operation on nonsocket: configureBlocking

Debug无法运行:
报错:Cannot connect to VM
Socket operation on nonsocket: configureBlocking

FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
ERROR: transport error 202: unable to create socket: winsock error 87
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]

Debug:Cannot connect to VM Socket operation on nonsocket: configureBlocking_第1张图片
QQ图片20161112160732.png

原因:Debug端口被占用,重新设置netsh winsock reset,重启计算机就解决了。

Debug:Cannot connect to VM Socket operation on nonsocket: configureBlocking_第2张图片
QQ图片20161112160740.png

你可能感兴趣的:(Debug:Cannot connect to VM Socket operation on nonsocket: configureBlocking)