I have enabled JMX connection on remote Glassfish server and then I've restarted it. During starting server notified:
Standard JMX Clients (like JConsole) can connect to JMXServiceURL: [service:jmx:rmi:///jndi/rmi://myserver:8686/jmxrmi] for domain management purposes.
Port 8686 is opened for connections.
But I can't connect to server with JConsole.. It says: Connection failed.
How can I solve this problem?
Thanks in advance.