• Connection Refused Error

    By SYNTEGRA Development 1 decade ago

    Hi,

    i followed the documentation to create my debug configurtions.

    But, if i launch this configuration, an error occurs:

    Failed to connect to remote VM. Connection refused.
    Connection refused: connect

    Any ideas?

    Thanks Mario

    • Multiple things to check

      By David Taieb 1 decade ago

      1. Did you start the http task in debug mode? You need to add the following 2 ini variables

       

      JavaEnableDebug=1</div>
      
      JavaDebugOptions=transport=dt_socket,server=y,suspend=n,address=8000</div>
      

      If all goes well, you should see the following message in the server console log:

       Listening for transport dt_socket at address: 8000

      2. Make sure that you use the same port number in the Eclipse debug configuration (in the above example it's 8000)

       

      JavaEnableDebug=1
      
      JavaDebugOptions=transport=dt_socket,server=y,suspend=y,address=8000