[ https://issues.apache.org/jira/browse/SOLR-5339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
dejie Chang updated SOLR-5339: ------------------------------ Description: when I install the solr-cloud on the centos5.6 . it is strange that sometimes ,the ip is not correct which is displayed on the http://192.168.10.54:8081/solr/#/~cloud , it is 202.106.199.36,but my actual is 192.168.10.54. but on the windows it is right. and i found it is because of hostaddress = InetAddress.getLocalHost().getHostAddress(); in ZkController.java . sometimes the method which get ip is not correct .we should not trust . so i think in linux we should not use this method (was: when I install the solr-cloud on the centos5.6 . t) > solr-core-4.4's ip is not right when the os is centos 5.6 sometimes > -------------------------------------------------------------------- > > Key: SOLR-5339 > URL: https://issues.apache.org/jira/browse/SOLR-5339 > Project: Solr > Issue Type: Bug > Components: contrib - Clustering > Affects Versions: 4.4 > Environment: centos 5.6 > Reporter: dejie Chang > Priority: Critical > > when I install the solr-cloud on the centos5.6 . it is strange that sometimes > ,the ip is not correct which is displayed on the > http://192.168.10.54:8081/solr/#/~cloud , it is 202.106.199.36,but my actual > is 192.168.10.54. but on the windows it is right. and i found it is because > of hostaddress = InetAddress.getLocalHost().getHostAddress(); in > ZkController.java . sometimes the method which get ip is not correct .we > should not trust . so i think in linux we should not use this method -- This message was sent by Atlassian JIRA (v6.1#6144) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org