Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » Django - Verfication of runserver vs browser [RSS Feed]

#1 Jan. 24, 2011 06:16:26

K.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django - Verfication of runserver vs browser


I ran the server by typing in the command: python manage.py runserver
and there's ( 0 errors) but when I check the browser by placing the
given url address:http://127.0.0.1:8000/, it says it refused the
connection. It said that the server may be busy or may have network
connection problem. It also said I may have an old version of the page
I wanted

1) Google cache
2) Internet Archive

So, this is a problem with the internet connection obviously, but
should I make changes to the cache or at least update the page? I
followed the wiki example given on the Django site.

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#2 Jan. 24, 2011 06:22:03

Shawn M.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django - Verfication of runserver vs browser


If you've been messing around quite a bit trying to fix other issues, the port
may be held up by a zombie process or something.

Try rebooting. If that doesn't work, see if the command line where runserver is
running displays any message.

Shawn

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#3 Jan. 24, 2011 16:24:50

Bill F.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django - Verfication of runserver vs browser


Is the browser running on the same box as djanog? By default, the
development server won't answer requests that don't come from the
local box. If this is the issue, try:

python manage.py runserver 0.0.0.0:8000

This tells the development server to accept requests from anywhere.

It is also possible that you have firewall settings that prevent you
from accessing the box.

Bill

On Mon, Jan 24, 2011 at 1:21 AM, Shawn Milochik <sh...@milochik.com> wrote:
> If you've been messing around quite a bit trying to fix other issues, the
> port may be held up by a zombie process or something.
>
> Try rebooting. If that doesn't work, see if the command line where runserver
> is running displays any message.
>
> Shawn
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
>http://groups.google.com/group/django-users?hl=en.
>
>

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#4 Jan. 24, 2011 18:43:11

Kimberly H.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django - Verfication of runserver vs browser


response to messages:

I am using the Django inside the Linux-Debian on my windows 7 machine. This
is what happen when I opened the terminal in the Django..
command: python manage.py runserver
It runs fine... 0 errors.
It shows me the url which is http://...... then I went to the browser on
the Djano which is run on the linux-Debian virtual box, and copied the url
that the terminal stated there were no errors. Once I did that, it says it
refused connection.


Answer to Bill Freeman: Yes the broswer running on the same box as django (
Like I've mentioned above to another post). I will do what you suggest which
is to run the server 0.0.0.0:8000.
I don't understand on how I have a firewall when the terminal stated that
there are 0 errors after I ran the manage.py runserver.



On Mon, Jan 24, 2011 at 10:24 AM, Bill Freeman <ke1g...@gmail.com> wrote:

> Is the browser running on the same box as djanog? By default, the
> development server won't answer requests that don't come from the
> local box. If this is the issue, try:
>
> python manage.py runserver 0.0.0.0:8000
>
> This tells the development server to accept requests from anywhere.
>
> It is also possible that you have firewall settings that prevent you
> from accessing the box.
>
> Bill
>
> On Mon, Jan 24, 2011 at 1:21 AM, Shawn Milochik <sh...@milochik.com>
> wrote:
> > If you've been messing around quite a bit trying to fix other issues, the
> port may be held up by a zombie process or something.
> >
> > Try rebooting. If that doesn't work, see if the command line where
> runserver is running displays any message.
> >
> > Shawn
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "Django users" group.
> > To post to this group, send email to django-users@googlegroups.com.
> > To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> > For more options, visit this group at
>http://groups.google.com/group/django-users?hl=en.
> >
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
>http://groups.google.com/group/django-users?hl=en.
>
>

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#5 Jan. 24, 2011 18:57:34

Javier G.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django - Verfication of runserver vs browser


On Mon, Jan 24, 2011 at 1:43 PM, Kimberly Harvey <kharve...@gmail.com> wrote:
> I am using the Django inside the Linux-Debian on my windows 7 machine.

do you run your browser in Windows or Linux?

if it's on windows, then accessing the dev-server on the Linux virtual
machine is just like going to any other machine; you can't use
127.0.0.1

ah, and remember that your VM can't use the same IP# as your windows host

--
Javier

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#6 Jan. 24, 2011 19:06:00

Kimberly H.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django - Verfication of runserver vs browser


I ran the browser in the linux.

On Mon, Jan 24, 2011 at 12:57 PM, Javier Guerra Giraldez <jav...@guerrag.com
> wrote:

> On Mon, Jan 24, 2011 at 1:43 PM, Kimberly Harvey <kharve...@gmail.com>
> wrote:
> > I am using the Django inside the Linux-Debian on my windows 7 machine.
>
> do you run your browser in Windows or Linux?
>
> if it's on windows, then accessing the dev-server on the Linux virtual
> machine is just like going to any other machine; you can't use
> 127.0.0.1
>
> ah, and remember that your VM can't use the same IP# as your windows host
>
> --
> Javier
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
>http://groups.google.com/group/django-users?hl=en.
>
>

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#7 Jan. 24, 2011 19:11:39

Joel G.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django - Verfication of runserver vs browser


On Mon, Jan 24, 2011 at 2:05 PM, Kimberly Harvey <kharve...@gmail.com>wrote:

> I ran the browser in the linux.
>
>
> On Mon, Jan 24, 2011 at 12:57 PM, Javier Guerra Giraldez <
> jav...@guerrag.com> wrote:
>
>> On Mon, Jan 24, 2011 at 1:43 PM, Kimberly Harvey <kharve...@gmail.com>
>> wrote:
>> > I am using the Django inside the Linux-Debian on my windows 7 machine.
>>
>> do you run your browser in Windows or Linux?
>>
>> if it's on windows, then accessing the dev-server on the Linux virtual
>> machine is just like going to any other machine; you can't use
>> 127.0.0.1
>>
>> ah, and remember that your VM can't use the same IP# as your windows host
>>
>> --
>> Javier
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>>http://groups.google.com/group/django-users?hl=en.
>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
>http://groups.google.com/group/django-users?hl=en.
>

So, I'm not sure how far along you are with your django project. I suggest
you follow the django tutorial from the start. Maybe its best to abandon
your present project for the time being and start another with the
tutorial. Within about 10 minutes you will get to the point of seeing a
screen in your browser that says 'It works!' along with some other
instructions. If you get that far, you know that you can create a django
project and you know that the steps you are using to see it in your browser
(all in your debian environment) are correct. Doing this exercise might
help you discover if you have misstepped somewhere along the way on your
project


--
Joel Goldstick

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#8 Jan. 24, 2011 19:16:11

Steven E.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django - Verfication of runserver vs browser


Have you tried running it on a different port? Can you post the actual error
message you get?

-Steven Elliott Jr

On Jan 24, 2011, at 2:05 PM, Kimberly Harvey <kharve...@gmail.com> wrote:

> I ran the browser in the linux.
>
> On Mon, Jan 24, 2011 at 12:57 PM, Javier Guerra Giraldez <jav...@guerrag.com>
> wrote:
> On Mon, Jan 24, 2011 at 1:43 PM, Kimberly Harvey <kharve...@gmail.com> wrote:
> > I am using the Django inside the Linux-Debian on my windows 7 machine.
>
> do you run your browser in Windows or Linux?
>
> if it's on windows, then accessing the dev-server on the Linux virtual
> machine is just like going to any other machine; you can't use
> 127.0.0.1
>
> ah, and remember that your VM can't use the same IP# as your windows host
>
> --
> Javier
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
>http://groups.google.com/group/django-users?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
>http://groups.google.com/group/django-users?hl=en.

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#9 Jan. 24, 2011 19:25:22

Kimberly H.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django - Verfication of runserver vs browser


I gotten far enough to where I was able to runserver and it detects NO
errors, and that I was able to create my superusers after I've syncdb the
manage.py file. On screen: " You just installed Django's auth system, which
means you dont have any superusers defined, would you like to create on?"
Once i did all of that, and reun the server, it keeps saying there were no
errors. Yes, I checked the browser ON linux.

I am not on my personal computer right now to post what I am seeing. When I
get home, I will copy/paste exactly what it shows on the screen.

On Mon, Jan 24, 2011 at 1:15 PM, Steven Elliott Jr <steve...@me.com> wrote:

> Have you tried running it on a different port? Can you post the actual
> error message you get?
>
> -Steven Elliott Jr
>
> On Jan 24, 2011, at 2:05 PM, Kimberly Harvey <kharve...@gmail.com> wrote:
>
> I ran the browser in the linux.
>
> On Mon, Jan 24, 2011 at 12:57 PM, Javier Guerra Giraldez <<jav...@guerrag.com>
> jav...@guerrag.com> wrote:
>
>> On Mon, Jan 24, 2011 at 1:43 PM, Kimberly Harvey < <kharve...@gmail.com>
>> kharve...@gmail.com> wrote:
>> > I am using the Django inside the Linux-Debian on my windows 7 machine.
>>
>> do you run your browser in Windows or Linux?
>>
>> if it's on windows, then accessing the dev-server on the Linux virtual
>> machine is just like going to any other machine; you can't use
>> 127.0.0.1
>>
>> ah, and remember that your VM can't use the same IP# as your windows host
>>
>> --
>> Javier
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To post to this group, send email to <django-users@googlegroups.com>
>> django-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> <django-users%2bunsubscr...@googlegroups.com>
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> <http://groups.google.com/group/django-users?hl=en>
>>http://groups.google.com/group/django-users?hl=en.
>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
>http://groups.google.com/group/django-users?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
>http://groups.google.com/group/django-users?hl=en.
>

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#10 Jan. 25, 2011 06:18:05

r.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django - Verfication of runserver vs browser


If none of above seems to work, You may be using a browser like google
chrome, which by default ignores the localhost.

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

  • Root
  • » Django
  • » Django - Verfication of runserver vs browser [RSS Feed]

Board footer

Moderator control

Enjoy the 23rd of October
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support