Django 6 · Setup

Change the address and port

Listen on all interfaces on port 8080.

python manage.py runserver 0.0.0.0:8080

Caution: Binding to 0.0.0.0 exposes the development server to your network.

Official Django 6 documentation

More setup commands

All setup commands · Django 6 cheatsheet

Was this page helpful?