2 Replies Latest reply on Oct 14, 2019 5:07 PM by jeffgaer

    Debug port only bound to local address on wildfly 11

    jeffgaer

      I am able to get wildfly 11 (openjdk 11)to bind to all the external addresses using -b 0.0.0.0. How do I accomplish the same thing for the debug port.  I run standalone.sh with --debug. When I do a netstat -plnt I see the following:

       

      tcp    0 127.0.0.1:9992      0.0.0.0:*           LISTEN  4999/java     
      tcp    0 0.0.0.0:8082        0.0.0.0:*           LISTEN  4999/java     
      tcp    0 127.0.0.1:8787      0.0.0.0:*           LISTEN  4999/java

       

      Port offset is to so the wildfly listen port is bound to 8082. As expected that is for the ip 0.0.0.0 which makes it externally accessible. However port 8787 which is the debug port is only bound to the localhost address. I need to be able to connect my ide (intellij Idea) remotely to a running instance. How do I bind the debug port to the external addresses?