I'm doing a project on Django REST Framework. I need the project to run not on standard "http://127.0.0.1:8000 /", but on the server "http://localhost:8080 ". Please tell me where it needs to be corrected in my project files?
Asked
Active
Viewed 25 times
0
-
Partly yes, thanks! I changed manage.py port to 8080 (runserver.default_port = "8080"). But I don't understand how to change 127.0.0.1 to localhost. – Денис Буйволов Sep 12 '22 at 14:47
-
127.0.0.1 *is* localhost. They are interchangeable, so you can put either one in the browser and get the same result. – iced Sep 12 '22 at 14:49
-
oh, I don't know) Thank you for help! – Денис Буйволов Sep 12 '22 at 14:54