title: How do you configure jetty to allow access from an external server?
body: <p>I've seen this asked before, with no good answers, how do you configure jetty to allow access from an external server?  I've just started messing around with solr and jetty and am using the example jetty instance that comes with solr.</p>
  
  <p>solr is running fine on localhost, and I can query it from sites on the same server. However, I can't access the solr instance from another server. I've googled and read quite a bit in the last few days, but have not been able to discover what's keeping jetty from allowing non localhost access to solr.</p>
  
  <p>Based on what I've read, I have tried added the following line to example/etc/jetty.xml</p>
  
  <pre><code>&lt;Set name="Host"&gt;0.0.0.0&lt;/Set&gt; 
  </code></pre>
  
  <p>and still got no external response</p>
  
  <p>then tried</p>
  
  <pre><code>&lt;Set name="Host"&gt;x.x.x.x&lt;/Set&gt;
  </code></pre>
  
  <p>where x.x.x.x is my server's IP address
  and </p>
  
  <pre><code>&lt;Set name="Host"&gt;host.domain.com&lt;/Set&gt;
  </code></pre>
  
  <p>where host.domain.com is my server's FQDN</p>
  
  <p>These both resulted in the error</p>
  
  <pre><code>java.net.BindException: Cannot assign requested address
  </code></pre>
  
  <p>when I started.</p>
  
  <p>The start command I'm using is </p>
  
  <pre><code>sudo java -jar start.jar etc/jetty.xml
  </code></pre>
  
  <p>You can point me to where I can read on this or spoon feed me, I don't care.  I'd just like to get past this hurdle so I can keep learning about setting up and using solr.</p>