我试图打开一个 JMX 连接到远程机器上运行的 Java 应用程序。
应用程序 JVM 配置了以下选项:
我能够使用 jsole 或 jvisalvm 使用 localhost:1088
进行连接。
但是我无法从远程机器上使用 xxx.xxx.xxx.xxx:1088
进行连接。
服务器之间或操作系统上没有防火墙。但为了消除这种可能性,我 telnet xxx.xxx.xxx.xxx 1088
和我认为它连接,因为控制台屏幕变成空白。
这两个服务器都是 WindowsServer2008x64。尝试使用64位 JVM 和32位,都不起作用。