Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
There is no problem with the Eclipse normal run mode, but the debug mode does not start. It's not going to work for ECLIPSE,MYECLIPSE,JDK.
Later on the machine installed on the city hotspot certification software off, the debug mode can finally start normally.
The original is the city hotspot and the JVM debug mode conflict.
Using Eclipse to debug Java code, both the remote JVM and the local JVM will have socket traffic. This error occurs because the socket communication is not the cause.
City hotspots are quite overbearing, not only modifying Winsock, but also listening and consuming some ports. Not just eclipse debug and it's conflicting
Many software is limited.
Also for local debugging. The JVM will establish a socket on localhost, and you can ping localhost at the command line to ensure that the hosts have not been tampered with.
You can also use commands at the command line for Netsh winsock reset to reset the Winsock directory
After the city hotspot is closed, not only is Java debug easy to use, but the remote debugging of the Tomcat Server is OK. Finally found the root cause.
Reference: http://hi.baidu.com/yc_t/blog/item/c7f8eb95185c4643d1135e97.html
Eclipse Debug mode does not start cannot connect to VM resolution