Solr with Jetty on LAMP server - Admin page access issue


I have <strong>Solr with its default Jetty</strong> that came with example directory <strong>installed on Linux</strong> server which has <strong>apache2 as its web server</strong>.

Now, within the same private LAN, when I open a browser and type in http://<ip-address>:8983/solr works <strong>ONLY</strong> when I do port forwarding <strong>otherwise it doesn't work</strong>. I am not sure what could be the problem? Please note this installation has been done on a remote server in a hosting environment for production deployment and I am a beginner wrt deployment stuff.


You can use the jetty.host parameter during startup to allow direct access to Jetty.

The -D option of the java command can be used with the followin syntax:

java -Djetty.host= -jar start.jar

In this way Jetty can be reached from all the hosts.

However this is not the ideal setup IMHO. I prefere to setup Jetty to listen only on localhost, implementing the client with another frontend server which listen on port 80. If you want to implement the frontend on another server you can use iptables to limit the incoming connection, dropping everything on the 8983 port if the IP is different from the one of your frontend server.

This image depicts my preferred setup for a LAMP stack includin SOLR:

<img alt="enter image description here" class="b-lazy" data-src="https://i.stack.imgur.com/OOOO3.png" data-original="https://i.stack.imgur.com/OOOO3.png" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" />


  • Mixing Solr range function with additional parameters
  • udp forwarding to emulator
  • Lucene .NET result subsets
  • How to autocomplete across multiple fields in Solr
  • Is it possible to use Microsoft 2013 sharepoint search server as my search engine for my site
  • How to write simple SMPP server
  • ASP.NET - Get website's URL without HttpContext.Current (running in background thread)
  • Cloudflare and Firebase
  • Drop packet with libpcap
  • “Movie Format Not Supported” on iPhone with YouTube player in a WebView
  • Shortest route between multiple points in mapkit for iphone app
  • Google API - Redirect URI mismatch error
  • CUDA NSight is not installed with CUDA 5.0 installation file on Windows 8? [closed]
  • Can my app be notified when another application starts/stops playing audio?
  • Add Windows Feature from C#
  • CORS with socket.io
  • Prevent Tomcat from caching request during starup
  • Access Android Market through SSH tunnel
  • zope_i18n_compile_mo_files doesn't work on a Zeo configuration
  • How to suppress a dialog
  • How to run “Deployd” on port 80 instead of port 5000 in webserver.
  • SignalR .NET Client Invoke throws an exception
  • Azure Cloud Service Web Role web pages do not load
  • How to recover from a Spring Social ExpiredAuthorizationException
  • Validaiting emails with Net.Mail MailAddress
  • ILMerge & Keep Assembly Name
  • Join two tables and save into third-sql
  • Which linear programming package should I use for high numbers of constraints and “warm starts” [clo
  • How to model a transition system with SPIN
  • Javascript + PHP Encryption with pidCrypt
  • Large data - storage and query
  • ORA-29908: missing primary invocation for ancillary operator
  • WOWZA + RTMP + HTML5 Playback?
  • R: gsub and capture
  • jqPlot EnhancedLegendRenderer plugin does not toggle series for Pie charts
  • Comma separated Values
  • coudnt use logback because of log4j
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • Converting MP3 duration time
  • How to load view controller without button in storyboard?