title: SolrCloud is detecting non-existing nodes
body: <p>I am having an interesting situation with SolrCloud. Basically, I dont know why, but Solr instance, which does not in the cloud normally, is displayed on SolrCloud page and also visible in <code>live_nodes</code> path in Zookepeer. </p>
  
  <p>Here are details about the situation:</p>
  
  <p>I have one Solr instance, running as a standalone application on a virtual machine, located on a remove machine. We will call it <code>virtual1</code> from now on.</p>
  
  <p>This is the script for running it:</p>
  
  <pre><code>java
  -server
  -XX:+UnlockExperimentalVMOptions
  -XX:+UseG1GC
  -XX:+UseCompressedStrings
  -Dcom.sun.management.jmxremote
  -d64
  -Xmx4096m
  -Dcom.sun.management.jmxremote.port=9999
  -Dcom.sun.management.jmxremote.ssl=false
  -Dcom.sun.management.jmxremote.authenticate=false
  -Djava.rmi.server.hostname=remotehost -jar start.jar 
  </code></pre>
  
  <p>this instance is running on port 8983, so when you go to <code>virtual1:8983</code>, you see the classical admin page of solr. the rest of the configs are all the same with example solr, which comes with solr distrubutions.</p>
  
  <p>Then, on my local machine (will be called <code>local</code> from now on), I am running my zookeeper servers on ports <code>2181</code> and <code>2182</code></p>
  
  <p>then for adding my solr instances to the cloud, I am simply running one instance on my local machine and two more on <code>virtual1</code> and the scripts for starting them as are below:</p>
  
  <p>Solr Instance on my local:</p>
  
  <pre><code>java -Dbootstrap_conf=true -DzkHost=zkhost:2181 -Djetty.port=8984 -jar start.jar
  </code></pre>
  
  <p>Solr Instances on remote:</p>
  
  <pre><code>java -DzkHost=zkhost:2181 -Djetty.port=8985 -jar start.jar
  java -DzkHost=zkhost:2182 -Djetty.port=8986 -jar start.jar
  </code></pre>
  
  <p>Until here, there are no exceptions or errors in either Solr or Zookeeper logs. </p>
  
  <p>When I check <code>virtual1:8985 and virtual1:8986</code> they are all running, as well as the instance on my local.</p>
  
  <p>But when I check the cloud (both from Solr admin page and also zookeeper CLI). i can only see <code>local:8983</code> and <code>virtual1:8983</code> in the cloud, while <code>virtual1:8985 and virtual1:8986</code> are not added at all... The weird point is that <code>virtual1:8983</code> doesnt know anything about Zookeeper servers as you can see from the starting scripts above.</p>
  
  <p>In addition the facts above, I have tried another thing. On another virtual machine(<code>virtual2</code>) which is running on the same hard machine with <code>virtual1</code>
  , I have created Solr instances with:</p>
  
  <pre><code>java -DzkHost=zkhost:2181 -Djetty.port=8985 -jar start.jar
  java -DzkHost=zkhost:2182 -Djetty.port=8986 -jar start.jar
  </code></pre>
  
  <p>So in this case I will have instances as <code>virtual2:8985 and virtual2:8986</code>, which should be in the cloud. But it doesnt happen... I can only see <code>virtual2:8983</code>, which does not exists in real. It simply shows the standalone Solr's port, which is running on <code>virtual1</code>. </p>
  
  <p>can anyone explain why is this happening? </p>