Re: server can't connect in browser

2022-06-23 Thread Paul Kudla (SCOM.CA Internet Services Inc.)
ok this is networking 101 stuff if the server is running on 127.0.0.1 8000 (or whatever port) and you are trying to access from another system you need to use the ip address of the server (not 127.0.0.1) and it needs to be accesable on your network to be able to find it. best to try

Re: server can't connect in browser

2022-06-22 Thread Django-Admin
Try opening the link in a browser in the same EC2 instance, if you are not doing so. On Wednesday, June 22, 2022 at 6:37:18 PM UTC+5:30 kamald...@gmail.com wrote: > Hi all, > I am quite new in django. Just started my first project in it. > I started an ec2 instance, setup virtual environment

Re: server can't connect in browser

2022-06-22 Thread Antonis Christofides
Hello, If you insist on working this way, there are two things you need to do: 1. You need to run it with "python manage.py runserver 0.0.0.0:8002". 2. 127.0.0.1 is the wrong address. Find the IP address of the server and use that one. Typically, when developing (and especially when we're

server can't connect in browser

2022-06-22 Thread Deep Kamal
Hi all, I am quite new in django. Just started my first project in it. I started an ec2 instance, setup virtual environment and run server through python manage.py runserver command. Server is up with no errors. But when I copy the link and open in browser it says site can't be reached.