About 614,000 results
Open links in new tab
  1. How can I change "127.0.0.1:8000 / localhost:8000" to my desired url ...

    Jul 14, 2019 · The --host option actually changes which address the server will listen on, and isn't directly related to the address in the browser. The default is to listen on localhost (127.0.0.1), which …

  2. django - Why can I connect to http://127.0.0.1:8000/ but not to http ...

    netstat -an | grep 8000 tcp4 0 0 127.0.0.1.8000 *.* LISTEN so what's going on here? Somehow port 22 is being treated differently than port 8000, but every place I can think to look for those differences I …

  3. What is the difference in localhost:8000 and http://127.0.0.1:8000?

    Aug 29, 2020 · I am running a Django project with react redux (trying to implement authentication system) and the very weird thing i observed that my site is rendering properly when i use …

  4. How to access my 127.0.0.1:8000 from Android tablet

    May 19, 2023 · You can't access 127.0.0.1 from a different box. You will need to make sure your site is listening on your networked address on your LAN and not just localhost.

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

    Apr 9, 2020 · Based on the limited info: 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 …

  6. python - Running django on 0.0.0.0:8000 - Stack Overflow

    Nov 6, 2013 · python manage.py runserver 0.0.0.0:8000 If you are accessing it over your local network you will also need to update settings.py with the IP of your host, as well as specifying localhost. Your …

  7. Can't connect to Flask web service, connection refused

    May 31, 2015 · 127.0.0.1 is the localhost address and will only be reachable from the raspi. In order to get access from your laptop open up the terminal on your raspi and try instead the ip from ifconfig …

  8. django - http://127.0.0.1:8000/ This site can’t be reached127.0.0.1 ...

    Feb 9, 2024 · To share your Django project locally, you need to run it within your virtual environment using the following command: python manage.py runserver 0.0.0.0:8000 Then you will have to find …

  9. python - Django http://127.0.0.0:8000 not displaying results from new ...

    Sep 3, 2019 · 1. Default Behavior: By default, when you run a FastAPI application with Uvicorn, it listens only on the localhost (or 127.0.0.1) interface. This means the application will only accept connections …

  10. 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, …