Unable to open debugger port in IntelliJ

后端 未结 17 711
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-29 17:54

Unable to open debugger port in intellij. The port number 9009 matches the one which has been set in the configuration file for the application.



        
17条回答
  •  无人及你
    2020-12-29 18:49

    Try to connect with telnet , if it connects then it shows below:

    $telnet 10.238.136.165 9999 Trying 10.238.136.165... Connected to 10.238.136.165. Escape character is '^]'. Connection closed by foreign host.

    If port is not available (either because someone else is already connected to it or the port is not open etc) then it shows something like it shows like below:

    $telnet 10.238.136.165 9999 Trying 10.238.136.165... telnet: connect to address 10.238.136.165: Connection refused telnet: Unable to connect to remote host

    So I think one needs to see whether:

    • the application is property listening to port or not

    • or someone else has already connected to it

    Also try to connect on that m/c itself first like $telnet localhost 9999

提交回复
热议问题