I am experiencing an unusual problem while debugging a java application in tomcat9.
the jpda port is found listening after tomcat is up, telnet localhost works good.
However the eclipse couldn't establish an debug connection before timing out. I increased the time out interval in eclipse, but didn't help.
catlina.bat has the JPDA_OPTS=-agentlib:jdwp=transport=%JPDA_TRANSPORT%,address=%JPDA_ADDRESS%,server=y,suspend=%JPDA_SUSPEND% which evaluates to -agentlib:jdwp=transport=dt_socket,address=localhost:8000,server=y,suspend=n
I tried connecting using localhost, 12.0.0.1 and the ip address, nothing helped.
Any suggestions would greatly help.