title: Java remote debugging (JPDA) not working for me in Tomcat 9
body: <p>I'm trying to remotely debug a Tomcat webapp on a recently upgraded Tomcat 9.0.13 and Open JDK 11.0.1.  Server is Redhat Enterprise Linux 7.6 and I'm using Eclipse on a Windows 7 developer box to connect.</p>
  
  <p>Tomcat starts, and the app is accessible on port 8080 but fails on certain requests.  So on my Eclipse, I've configured a Remote Java application with my configuration details.  When I try to connect to it, the connecting fails with </p>
  
  <p><code>Failed to connect to remote VM. Connection refused.</code></p>
  
  <p>I'm using the default port, 8000 and on the Linux server, netstat -an shows that there is a process listening on that port when Tomcat starts and not when Tomcat stops.</p>
  
  <p>I've tried telnet from the Windows box to port 8000 and get </p>
  
  <pre><code>$ telnet c516vefpubrec 8000
  Trying XX.XXX.XX.XX...
  telnet: Unable to connect to remote host: Connection refused
  </code></pre>
  
  <p>When I do the same running our old Tomcat 7 + Java 1.8 everything is successful.  I've tried other ports with the same result.</p>
  
  <p>Could this be a bug?  Is there a configuration item to enable JPDA on Tomcat 9?</p>