0

I am trying to run two web servers on the Raspberry Pi 3 at the same time i.e. one for a CCTV camera stream and one for a digital forensics photo analysis tool with a web interface (the tool is Ghiro). There is an issue where I can't get the second web-server to work.

The web-server appears to be working correctly, and should be accessible from 127.0.0.1:8000 but when entering this into the browser it says refused to connect.

The command line interface running the server is:

System check identified no issues (0 silenced). 
January 10, 2018 - 15:49:23 
Django version 1.9.7, using settings 'ghiro.settings' 
Starting development server at 127.0.0.1:8000 
Quit the server with CONTROL-C.

Is it possible to run 2 web-servers at once?

7
  • You mention that there's an issue with the second web server. Do you have any more information about what is happening? Do you get an error with the second web server, or does it appear to work but not serve the web pages correctly? – Aurora0001 Jan 10 '18 at 15:06
  • What is the issue? Short answer is yes, you can setup multiple Virtual Hosts to run more than one website or domain off of a single server. Depend on what web server and how you configure the server. – hcheung Jan 10 '18 at 15:09
  • Thank you Aurora0001 and Hcheung... yes Aurora0001 the web-server appears to be working correctly, and should be accessible from 127.0.0.1:8000 but when entering this into the browser it says refused to connect. The command line interface running the server is:System check identified no issues (0 silenced). January 10, 2018 - 15:49:23 Django version 1.9.7, using settings 'ghiro.settings' Starting development server at 127.0.0.1:8000 Quit the server with CONTROL-C. – James Pannell Jan 10 '18 at 15:50
  • @JamesPannell What is the other server you're running? Particularly, which port is your other web server running on? – Aurora0001 Jan 10 '18 at 17:31
  • What happens if you start your 2 web servers in the reverse order? – Mark Setchell Jan 10 '18 at 20:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.