I m trying to initiate a remote debugging session on my PC with Eclipse & Tomcat. I managed to run tomcat (not through eclipse) with the following params:
set JPDA_TRANSPORT=dt_socket
set JPDA_ADDRESS=5050
cataline jpda start
服务器开 start,结果如下:
Using CATALINA_BASE: "C:JavaTomcat"
Using CATALINA_HOME: "C:JavaTomcat"
Using CATALINA_TMPDIR: "C:JavaTomcat emp"
Using JRE_HOME: "C:Javajdk1.6.0_27"
Using CLASSPATH: ...
Listening for transport dt_socket at address: 5050
...
...
INFO: Server startup in 12502 ms
现在,我开了lip,并装上了相关项目。
我用<代码>Remote Java Application与当地东道方和右港建立了新的下游配置。 然而,在我执政时,我收到了这一错误信息:
Failed to connect to remote VM. Connection refused.
Connection refused: connect
不能真正理解问题在哪里。 这是《刑法》中所有地方的,因此,不应该有任何防火墙,有人会想什么?