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.
Specify the port number after "python manage.py 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
Python manage.py runserver 8080
Hope this helps.
Click on the button below to add a new message to this thread
Satus: OpenMessages: 1Started: 2022-05-10
Click the button below to start a new thread for your question
By using our website,