title: Unable to open debugger port for Spring boot debug with intelliJIdea
body: <p>I want to debug a Spring boot application with IntelliJ. I'm using windows 10. 
  when I run my spring boot project with following command it works fine. But debugging not working.</p>
  
  <pre><code>mvn spring-boot:run -Drun.profiles=dev -Dspring-boot.run.jvmArguments="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"
  </code></pre>
  
  <p>And then I make a remote debugger with intelliJ as follows.</p>
  
  <p><a href="https://i.stack.imgur.com/olgoF.png" rel="noreferrer"><img src="https://i.stack.imgur.com/olgoF.png" alt="enter image description here"></a></p>
  
  <p>but when I click the debug button intelliJ shows following message. </p>
  
  <blockquote>
    <p>Error running 'RemoteDeBugger': Unable to open debugger port
    (localhost:5005): java.net.ConnectException "Connection refused:
    connect</p>
  </blockquote>
  
  <p>What is the reason for above behavior and how to do debugging correctly.</p>