On Tue, 16 Mar 2021 01:25:26 GMT, Yasumasa Suenaga <ysuen...@openjdk.org> wrote:
>> I think the default rmi registry port is 1099. However, do we need to also >> support something like >> [JDK-8196729](https://bugs.openjdk.java.net/browse/JDK-8196729) for the rmi >> communications port? > >> I think the default rmi registry port is 1099. However, do we need to also >> support something like >> [JDK-8196729](https://bugs.openjdk.java.net/browse/JDK-8196729) for the rmi >> communications port? > > We can specify RMI communication port with `--rmiport` in `jhsdb debugd`. It > has been introduced in > [JDK-8196751](https://bugs.openjdk.java.net/browse/JDK-8196751). For example, if we want to fix RMI registry and communication port, we can start debugd instance as following: $ jhsdb debugd --pid 1234 --registryport 2000 --rmiport 3000 Then, we can connect to it as following: $ jhsdb jinfo --connect localhost:2000 ------------- PR: https://git.openjdk.java.net/jdk/pull/3000