How do I run my django project server on a different port

By default my django project runs on port 8000, how do i switch it to a another port.

message profile

Specify the port number after "python runserver" to run it on that particular port.

Let's say for example you want your django project to run on port 8080 instead of port 8000, all you have to do is run this code below in 

your terminal

Python runserver 8080

Hope this helps.

Add Message

Click on the button below to add a new message to this thread


Thread detail

Satus: Open
Messages: 1Started: 2022-05-10




Frontend Development |Backend Development |Full Website Development |Bootstrap Website upgrades | Website Debbugging | Website Hosting & deployment


Interested in hiring me or collaborating with me on a project, click on any of the links below to get my social media handle

Or contact me via Tel: (+234)-806-225-7480 | Email:
Privacy Policy

By using our website,
you agree that devmaesters can store cookies on your device and disclose information in accordance with our privacy policy.