Not getting response to 8000 port.

As per site,
we have prepared the conf file as shown below:

#Listen 8000
<VirtualHost *:8000>
DocumentRoot /usr/local/src/notes
ErrorLog {APACHE_LOG_DIR}/error.log CustomLog {APACHE_LOG_DIR}/access.log combined

Alias /static /usr/local/src/notes/notes_parser/static
<Directory /usr/local/src/notes/notes_parser/static>
	Require all granted

<Directory /usr/local/src/notes/notes_parser>
		Require all granted

WSGIDaemonProcess notes python-path=/home/notes_parser/env python-home=/usr/local/src/notes/notes_parser
WSGIProcessGroup notes
WSGIScriptAlias / /usr/local/src/notes/notes_parser/

After restarting the apache server, we are not getting a response to 8000 port.

Please let us know if any other parameters to be added or to be modified.

This looks like more of an Apache issue than a Django issue.

  • Can you verify that Apache has opened port 8000?
  • Do you have a firewall (ip-tables, UFW, etc) that is blocking that port?
  • You have the Listen 8000 line commented out - is it set in one of the other conf files?
  • Which file is this that you have edited? If it’s in the “sites-available” directory, has it been symlinked to your “sites-enabled” directory?
  • Is your Apache server listening to / responding to any other ports?
  • Are there any relevant messages in the log files?