How is Django able to grant reserved port numbers?
<p>Using this command </p>

<blockquote>
  <p><code>python manage.py runserver 0.0.0.0:8000</code></p>
</blockquote>

<p>we can host a Django server locally on any port.So a developer can use reserved and privileged port numbers say</p>

<blockquote>
  <p><code>python manage.py runserver 127.0.0.1:80</code></p>
</blockquote>

<p>So, now I am using port 80 defined for the HTTP protocol.</p>

<p>So, why does this not raise any issues and how is this request granted ?  </p>

<p>You should use a proper server instead of Django's test server such as <code>nginx</code> or <code>apache</code> to run the server in production on port <code>80</code>. Running something like <code>sudo python manage.py runserver 0.0.0.0:80</code> is not recommended at all.</p>

python django port