Cannot reach development server in a rackspace cloud server

112 views
Skip to first unread message

simone...@gmail.com

unread,
Jan 4, 2010, 6:01:46 AM1/4/10
to Django users
Hi everyone,

i've just setted up a new Centos 5.4 based cloud server at Rackspace.
Installed Python2.5 and virtualenv, devel-tools, and all went ok but I
can't reach the development server.

I started a new django project, then launched

python2.5 manage.py runserver 0.0.0.0:8000, but i can't point my web
browser to that address.

Any ideas?

Also tried to disable SELinux, but nothing changed.

Thanks,
Simone.

simone...@gmail.com

unread,
Jan 4, 2010, 6:04:39 AM1/4/10
to Django users
> python2.5 manage.py runserver 0.0.0.0:8000, but i can't point my web
> browser to that address.

Of course I mean MY.IP.ADDRESS:8000. :)

On Jan 4, 12:01 pm, "simonecare...@gmail.com"

Marc Aymerich

unread,
Jan 4, 2010, 6:27:05 AM1/4/10
to django...@googlegroups.com
On Mon, Jan 4, 2010 at 12:04 PM, simone...@gmail.com <simone...@gmail.com> wrote:
> python2.5 manage.py runserver 0.0.0.0:8000, but i can't point my web
> browser to that address.

Of course I mean MY.IP.ADDRESS:8000. :)



On Jan 4, 12:01 pm, "simonecare...@gmail.com"
<simonecare...@gmail.com> wrote:
> Hi everyone,
>
> i've just setted up a new Centos 5.4 based cloud server at Rackspace.
> Installed Python2.5 and virtualenv, devel-tools, and all went ok but I
> can't reach the development server.
>
> I started a new django project, then launched
>
> python2.5 manage.py runserver 0.0.0.0:8000, but i can't point my web
> browser to that address.
>
> Any ideas?
>

take a look with: netstat -ltnp|grep python 
can you ping YOUR.IP.ADDRESS ??
what say nmap YOU.IP.ADDRESS -p 8000 (client side) ?
check your /etc/hosts (client side)
check your /etc/hosts.deny (server and client side)
maybe something with iptables: iptables -F 
in server side.. can you connect with: links2 http://localhost:8000  ? 
Maybe Firewalls on the way?

 
> Also tried to disable SELinux, but nothing changed.
>
> Thanks,
> Simone.

--

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



simone...@gmail.com

unread,
Jan 4, 2010, 6:43:23 AM1/4/10
to Django users
Ehi Marc, thank you very much.

By doing a nmap scan I noticed the port 8000 is filtered.

so I tryed flushing iptables and it worked...now i've just to set up
again filtering over other ports.

Thank you again,
Simone.

On Jan 4, 12:27 pm, Marc Aymerich <glicer...@gmail.com> wrote:
> On Mon, Jan 4, 2010 at 12:04 PM, simonecare...@gmail.com <


>
>
>
>
>
> simonecare...@gmail.com> wrote:
> > > python2.5 manage.py runserver 0.0.0.0:8000, but i can't point my web
> > > browser to that address.
>
> > Of course I mean MY.IP.ADDRESS:8000. :)
>
> > On Jan 4, 12:01 pm, "simonecare...@gmail.com"
> > <simonecare...@gmail.com> wrote:
> > > Hi everyone,
>
> > > i've just setted up a new Centos 5.4 based cloud server at Rackspace.
> > > Installed Python2.5 and virtualenv, devel-tools, and all went ok but I
> > > can't reach the development server.
>
> > > I started a new django project, then launched
>
> > > python2.5 manage.py runserver 0.0.0.0:8000, but i can't point my web
> > > browser to that address.
>
> > > Any ideas?
>
> take a look with: netstat -ltnp|grep python
> can you ping YOUR.IP.ADDRESS ??
> what say nmap YOU.IP.ADDRESS -p 8000 (client side) ?
> check your /etc/hosts (client side)
> check your /etc/hosts.deny (server and client side)
> maybe something with iptables: iptables -F

> in server side.. can you connect with: links2http://localhost:8000 ?


> Maybe Firewalls on the way?
>
>
>
> > > Also tried to disable SELinux, but nothing changed.
>
> > > Thanks,
> > > Simone.
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Django users" group.
> > To post to this group, send email to django...@googlegroups.com.
> > To unsubscribe from this group, send email to

> > django-users...@googlegroups.com<django-users%2Bunsubscribe@google groups.com>

Reply all
Reply to author
Forward
0 new messages