title: Remote Debug in Intellij is not connecting to wildfy application server(not locally running tomcat)
body: <p>I have an application server. I need to connect to that application server for debugging. I set the host and the port by adding a new remote connection.
  <a href="https://i.stack.imgur.com/aNYv3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aNYv3.png" alt="enter image description here"></a></p>
  
  <p>But when I tried to connect it gives me the following error. </p>
  
  <p>Error running 'Remote Debug': Unable to open debugger port (45gfc:3389): java.net.SocketException "Connection reset"</p>
  
  <p>It would be really grateful if someone could help me with this.</p>