#Django #Python #Shorts
By default, Django's runserver development server starts on port 8000. But what if that port is already taken by another application? Are we screwed?
Of course, not! All we need to do is specify the port after `runserver` in `python manage.py runserver` command.
Pro tip: you can even specify the IP address!
-------------------------------------------------------------------------------------
Links:
Blog: https://evgenyurubkov.com
Twitter: / evgenyurubkov
Instagram: / evgenyurubkov
Youtube: / @codevev
Смотрите видео Django - How To Change Runserver Port онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь codevev 09 Август 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,979 раз и оно понравилось 67 людям.