JDK-8248353 : Release Note: Added Ability to Configure Third Port for Remote JMX
  • Type: Sub-task
  • Component: core-svc
  • Sub-Component: javax.management
  • Affected Version: 15
  • Priority: P4
  • Status: Closed
  • Resolution: Delivered
  • OS: generic
  • CPU: generic
  • Submitted: 2020-06-25
  • Updated: 2021-05-14
  • Resolved: 2020-07-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 15
15Resolved
Description
JMX supports (explicit) remote network access through the configuration of two network ports (either from the command line or in a property file), by setting the following properties:

`com.sun.management.jmxremote.port=<port#>`   
`com.sun.management.jmxremote.rmi.port=<port#>`   

Note: If it is not specified, the second port will default to the first.

A third local port is also opened to accept (local) JMX connections. This port previously had its number selected at random, which could cause port collisions.

However, it is now possible to configure the third JMX port (local only) by using:   
`com.sun.management.jmxremote.local.port=<port#>`