This site can’t be reached error

13 views
Skip to first unread message

Treasure Kahitu

unread,
Apr 8, 2022, 5:32:11 PM4/8/22
to django...@googlegroups.com
Hi all,

I am new to django and need a bit of help. I am using VS Code and I used the following port http://127.0.0.1:8000/ to access my django webpage.
When I first entered the port in my browser yesterday, it worked and read "The install worked successfully" 

Today I did a bit of coding in VS Code and tried to open my django page but I get the below error: 


This site can’t be reached

127.0.0.1 refused to connect.

Try:

ERR_CONNECTION_REFUSED

Please help me in layman's terms.

Regards
Treasure

John Dollosa

unread,
Apr 9, 2022, 9:30:04 AM4/9/22
to Django users
Hi, 

Can you make sure that you are running the runserver command successfully?
What do you see in the logs if ever you run the command python manage.py runserver?
You would see some useful error messages if something went wrong when running Django. 
Reply all
Reply to author
Forward
0 new messages