Région de recherche :

Date :

https://stackoverflow.com › questions › 61115228

Can't log into localhost:8000/admin ... ERR_CONNECTION_REFUSED

Try to access 127.0.0.1:8000/admin instead of localhost:8000/admin. In django's settings set ALLOWED_HOSTS = ['*'] ( NOTE: This is only for development). Check if something else is not already runnning on that port.

https://www.w3schools.com › django › django_admin.php

Django Admin - W3Schools

To enter the admin user interface, start the server by navigating to the /myworld folder and execute this command: py manage.py runserver. In the browser window, type 127.0.0.1:8000/admin/ in the address bar. The result should look like this:

Django Admin - W3Schools

https://stackoverflow.com › questions › 61712858

Cannot connect to localhost:8000/admin page, Django

I created a superuser for my site, but when I started the server and tried to connect to the localhost:8000/admin page, I got an ERR_CONNECTION_REFUSED (site cannot be reached) error, and the server stopped running.

https://www.ionos.fr › digitalguide › serveur › know-how › localhost

Localhost : comment se connecter à l'adresse IP 127.0.0.1 - IONOS

Pourquoi accéder au localhost ? Nous expliquons à quoi sert le domaine, comment fonctionne le loopback et ce qui se cache derrière 127.0.0.1.

Localhost : comment se connecter à l'adresse IP 127.0.0.1 - IONOS

https://learndjango.com › tutorials › django-hello-world

Django Hello, World | LearnDjango.com

If you open your browser to 127.0.0.1:8000 you should see the following screen: That means we've set up everything correctly and can move on to the next step. Add Hello, World. We want to update the homepage so that instead of showing Django's welcome screen, it displays the text, "Hello, World!"

https://developer.mozilla.org › en-US › docs › Learn › Server-side › Django › Admin_site

Django Tutorial Part 4: Django admin site - Learn web development - MDN

To login to the site, open the /admin URL (e.g. http://127.0.0.1:8000/admin) and enter your new superuser userid and password credentials (you'll be redirected to the login page, and then back to the /admin URL after you've entered your details).

Django Tutorial Part 4: Django admin site - Learn web development - MDN

https://docs.djangoproject.com › en › 5.0 › ref › django-admin

django-admin and manage.py | Django documentation | Django

django-admin runserver [addrport] ¶ Starts a lightweight development web server on the local machine. By default, the server runs on port 8000 on the IP address 127.0.0.1. You can pass in an IP address and port number explicitly.

https://www.howtogeek.com › 789017 › what-is-the-127.0.0.1-ip-address-and-how-do-you-use-it

What Is the 127.0.0.1 IP Address, and How Do You Use It? - How-To Geek

127.0.0.1 is called the loopback address, and is the IP a computer uses to refer to itself. A server running on your local PC will be accessible at 127.0.0.1, or you can force internet traffic to connect to 127.0.0.1 instead of accessing a website to block access to that site.

https://larevuetech.fr › adresse-ip-127-0-0-1-localhost

Tout savoir sur l’adresse IP 127.0.0.1 ou localhost

L’adresse IP 127.0.0.1 est une adresse spéciale utilisée pour permettre à un ordinateur de communiquer avec lui-même sans avoir besoin d’une connexion réseau. Elle est exploitée pour les tests, le débogage et le développement de logiciels.

Tout savoir sur l’adresse IP 127.0.0.1 ou localhost

https://developer.mozilla.org › en-US › docs › Learn › Server-side › Django › Authentication

Django Tutorial Part 8: User authentication and permissions

Start the development server and navigate to the admin site in your local web browser (http://127.0.0.1:8000/admin/). Login to the site using the credentials for your superuser account. The top level of the Admin site displays all of your models, sorted by "Django application".