Hi,
The problem got resolved. I just ran the environment again
And used python manage.py runserver
It worked. Ran on localhost:8000
May be the port which I was using wasn't free earlier.
Thanks for all the solutions.
On Mon, Dec 21, 2020, 3:01 PM Anirudh Jain
wrote:
> Please send picture
Please send picture of your cmd/terminal where you are running the
localserver
On Fri, 18 Dec 2020, 21:59 Parul., wrote:
> i am not able to connect , i tried to use 0.0.0.0:8000 , 0.0.0.0:8080 as
> well, still getting same error.
> used 127.0.0.1 with ports 8000 and 8080 still getting error
> i
Hy ,
I added the code but it's still not working
On Sun, Dec 20, 2020, 10:48 PM pycode wrote:
> Add views.py with
> from django.http import HttpResponse
>
> def homepage(request):
>return HttpResponse ('hello world')
>
> urls.py
>
> from . import views
>
> urlpatterns = [
>path('
Add views.py with
from django.http import HttpResponse
def homepage(request):
return HttpResponse ('hello world')
urls.py
from . import views
urlpatterns = [
path('/', views.homepage)
]
On Fri, Dec 18, 2020, 9:59 PM Parul. wrote:
> i am not able to connect , i tried to use 0.0.
If you use a vpn, make sure it’s not on. Some vpn blocks all other ports
when they are on.
On Sun, Dec 20, 2020 at 05:27 Parul. wrote:
> Hy,
> I am not able to indentify the exact problem here. I tried various
> combinations like using only
> Python manage.py runserver
> Then
> Python manage.py
Hy,
I am not able to indentify the exact problem here. I tried various
combinations like using only
Python manage.py runserver
Then
Python manage.py runserver 8080 /8000
Still getting the error message as
"Refused to connect "
This has really become an obstacle for me as I am not able to continu
try running the server without including the ip or port,just run "python
manage.py runserver" only.
The way I tend to solve problems like this is I reduce the search space by
ruling out what is obviously not the issue(e.g I don't think you have to
reinstall your os or that it has anything to do wi
try HTTPS connection and check.
On 19/12/20 3:11 am, Kasper Laudrup wrote:
Hi Parul,
On 18/12/2020 19.10, Parul. wrote:
I am using the command python manage.py runserver
But it is not running the servers
What does it mean that it's not running the servers? Are you getting
any errors?
I a
Hi Parul,
On 18/12/2020 19.10, Parul. wrote:
I am using the command python manage.py runserver
But it is not running the servers
What does it mean that it's not running the servers? Are you getting any
errors?
I am not running any other servers.
You most likely are, but probably not som
On 18/12/2020 19.22, Dhruvil Shah wrote:
Try uninstalling django and re-install it
And if that doesn't work try reinstalling the operating system. If it
still doesn't work, try buying a new computer.
Computers are black magic after all and no one really knows how they work.
--
You received
Try uninstalling django and re-install it
On Fri, 18 Dec 2020, 23:42 Parul., wrote:
> I am using the command python manage.py runserver
> But it is not running the servers
> I tried localhost with 8000 and 8080 also
> The tried 0.0.0.0:8000 and with 8080
>
>
> I am not running any other servers.
I am using the command python manage.py runserver
But it is not running the servers
I tried localhost with 8000 and 8080 also
The tried 0.0.0.0:8000 and with 8080
I am not running any other servers.
While checking the ip4 in cmd...it's showing 192.168.1.11 tried python
manage.py runserver wi
The port is probably being used by another app. Are u running other
development servers?
On Fri, 18 Dec 2020, 18:34 Parul., wrote:
> This is the error which I am getting.
>
> On Fri, Dec 18, 2020, 10:59 PM Akanimoh Osutuk
> wrote:
>
>> What errors are you getting?
>>
>> On Fri, 18 Dec 2020, 17:
Is it that your local server is running but you're unable to access the
requested page or "python manage.py runserver" command is not running d
server? A little bit of information will be very helpful
On 18 Dec 2020 5:29 pm, "Parul." wrote:
> i am not able to connect , i tried to use 0.0.0.0:8000
What errors are you getting?
On Fri, 18 Dec 2020, 17:28 Parul., wrote:
> i am not able to connect , i tried to use 0.0.0.0:8000 , 0.0.0.0:8080 as
> well, still getting same error.
> used 127.0.0.1 with ports 8000 and 8080 still getting error
> i have put '*' in ALLOWED_HOSTS
>
> --
> You receive
Hi, guys.
I'm not working in django, but if you go to your hosts file then you need
to set the IP address (domain name) and port in there that you going to
use. The server then will pick up the IP address that you set for your
project.
Blessings
Christo Kriegler
Founder / President
Management |
I tried ALLOWED_HOSTS['*']
Still not working
On Fri, Dec 18, 2020, 9:59 PM Parul. wrote:
> Hi,
> I am also facing this issue
> tried I had to add 127.0.0.1 to ALLOWED_USERS in settings.py but still
> issue not resolved, also tried '*' in ALLOWED_HOSTS...
> used 0.0.0.0:8000/8080 as well...stil
i am not able to connect , i tried to use 0.0.0.0:8000 , 0.0.0.0:8080 as
well, still getting same error.
used 127.0.0.1 with ports 8000 and 8080 still getting error
i have put '*' in ALLOWED_HOSTS
--
You received this message because you are subscribed to the Google Groups
"Django users" grou
Hi,
I am also facing this issue
tried I had to add 127.0.0.1 to ALLOWED_USERS in settings.py but still
issue not resolved, also tried '*' in ALLOWED_HOSTS...
used 0.0.0.0:8000/8080 as well...still facing that issue
can anybody please help
On Friday, June 8, 2018 at 7:04:58 PM UTC+5:30 Илья Бар
I had a similar problem in Firefox, in other browsers everything worked
well. Cleared the cache and cookies!
https://support.mozilla.org/en-US/kb/websites-dont-load-troubleshoot-and-fix-errors#w_the-problem-only-happens-with-certain-websites
2018-06-06 4:33 GMT+03:00 James Farris :
> What’s the a
What’s the actual error?
Did you mean ALLOWED_HOSTS? If so you can just add:
ALLOWED_HOSTS=[‘*’]
On Tue, Jun 5, 2018 at 12:55 PM Jamie Roberts
wrote:
> Hi,
>
> This is from memory and may not be your problem but ... I had to add
> 127.0.0.1 to ALLOWED_USERS in settings.py
>
> Sent from my iPhon
Hi,
This is from memory and may not be your problem but ... I had to add 127.0.0.1
to ALLOWED_USERS in settings.py
Sent from my iPhone
> On 5 Jun 2018, at 16:38, Avitab Ayan Sarmah wrote:
>
> While going through the turolal 7 of the django project, couldn't connect to
> the url.Please commen
While going through the turolal 7 of the django project, couldn't connect
to the url.Please comment why my local host refused to connect
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails fr
23 matches
Mail list logo