title: Connection refused when running "solr create"
body: <p>I'm trying to automate the creation of new collections using the <code>solr create</code> command in Solr 8.11.1 as follows</p>
  <p><code>sudo -u solr /opt/solr/bin/solr create -c collection_name</code></p>
  <p>However, I get connection refused since Solr is listening on the host IP address, not <code>localhost</code></p>
  <p><code>ERROR: Connect to localhost:8983 [localhost/127.0.0.1] failed: Connection refused (Connection refused)</code></p>
  <p>Is there a way to specify a hostname/IP address when running <code>solr create</code>?</p>