Adam Adam - 1 year ago 82
Java Question

JMX is not running on the port specified

I'm trying to enable remote debugging over JMX for a minecraft server but I can't seem to get it working.

I'm using this on the command line to launch it:

java -jar craftbukkit.jar

Obviously, I haven't setup any authentication or anything but the process seems to launch correctly. I removed all the auth options and nothing has been changed.

However when I run:

lsof | grep 3000

netstat | grep 3000

Nothing is returned. Any idea why this isn't listening on the port correctly?

Answer Source

Add -Djava.rmi.server.hostname = host ip. Along with

Addition of this -Djava.rmi.server.hostname = host ip forces RMI service to use the host ip instead of

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download