[ https://issues.apache.org/jira/browse/IOTDB-479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jialin Qiao closed IOTDB-479. ----------------------------- Resolution: Won't Fix > JMX connection failed > --------------------- > > Key: IOTDB-479 > URL: https://issues.apache.org/jira/browse/IOTDB-479 > Project: Apache IoTDB > Issue Type: Bug > Components: Others > Affects Versions: 0.10.0-SNAPSHOT > Reporter: Xiangdong Huang > Priority: Major > Labels: pull-request-available > Time Spent: 20m > Remaining Estimate: 0h > > Hi, > I find a case that the server has bind JMX port successfully after IoTDB > startup and the bind IP is also correct. (using `lsof -i:31999` to check.) > However, the user can not connect to the server using Jconsole or JvisualVM. > This issue usually happens when the server has more than one IP. > I tried several solutions and think the following may be useful: > add `-Dcom.sun.management.jmxremote.rmi.port=THE PORT` and > `-Djava.rmi.server.hostname=THE IP` to $IOTDB_JMX_OPTS in iotdb-env.sh. > > -- This message was sent by Atlassian Jira (v8.3.4#803005)