# Not getting response to 8000 port.

**URL:** <https://forum.djangoproject.com/t/not-getting-response-to-8000-port/2927>\
**Category:** Using Django\
**Created:** [June 11, 2020, 7:50pm UTC](https://forum.djangoproject.com/t/not-getting-response-to-8000-port/2927 "2020-06-11T19:50:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![newidea99](https://avatars.discourse-cdn.com/v4/letter/n/f6c823/32.png) [@newidea99](https://forum.djangoproject.com/u/newidea99)\
**Post date:** [June 11, 2020, 7:50pm UTC](https://forum.djangoproject.com/t/not-getting-response-to-8000-port/2927/1 "2020-06-11T19:50:44Z")

</div>

As per site, [https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/modwsgi/](https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/modwsgi/)  
we have prepared the conf file as shown below:

#Listen 8000  
\<VirtualHost \*:8000\>  
ServerAdmin [webmaster@teloxis.com](mailto:webmaster@teloxis.com)  
ServerName django.thatisfun.in  
ServerAlias wwww.django.thatisfun.in  
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>

<Directory /usr/local/src/notes/notes_parser>
	<Files wsgi.py>
		Require all granted
	</Files>
</Directory>

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/wsgi.py

```

**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.**

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [June 15, 2020, 1:57pm UTC](https://forum.djangoproject.com/t/not-getting-response-to-8000-port/2927/2 "2020-06-15T13:57:19Z")

</div>

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?
