title: java.net.ConnectException when running IntelliJ debugger
body: <p>I am trying to debug my Java server with IntelliJ. Every time I start the debugger it shows:</p>
  
  <blockquote>
    <p>Error running game debug: Unable to open debugger port :
    java.net.ConnectException "Connection refused: connect"</p>
  </blockquote>
  
  <p>I switched off the firewall for Windows, as well as my antivirus scanner, but it's still showing the error.</p>
  
  <p><img src="https://i.stack.imgur.com/Wc7Zr.png" alt="enter image description here"></p>