Re: Problem starting TurboGears2 project

34 views
Skip to first unread message

Mengu

unread,
Oct 12, 2012, 7:27:07 AM10/12/12
to turbo...@googlegroups.com
hi cht8,

it is strongly suggested that we use turbogears or any other web framework under a fresh virtual environment so none of your libraries will clash and you won't need any root access to do things.

long story short, get into your env, activate it and then start via "paster serve development.ini", without sudo.

On Thursday, October 11, 2012 9:08:56 AM UTC+3, cht8 wrote:
Hi all,
   When I start a turbogears2 project with the command "sudo paster serve development.ini" it gives me "serving on http://127.0.0.1:8080" but I can't see the page on http://localhost:8080

Any help would be great. Thanks.

Alessandro Molina

unread,
Oct 12, 2012, 1:55:34 PM10/12/12
to turbo...@googlegroups.com
Make sure you are messing up with IPV6 and IPV4, on some systems
localhost resolves to ::1 and if your server is only listening to
127.0.0.1 you won't be able to reach it.

Try to connect explicitly to 127.0.0.1:8080 instead of connecting to
localhost:8080
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/turbogears/-/r_BnjEqTo0UJ.
>
> To post to this group, send email to turbo...@googlegroups.com.
> To unsubscribe from this group, send email to
> turbogears+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/turbogears?hl=en.

cht8

unread,
Oct 15, 2012, 2:28:51 AM10/15/12
to turbo...@googlegroups.com
Ya but TurboGears 1 and 1.5 both works.

Alessandro Molina

unread,
Oct 15, 2012, 6:23:40 AM10/15/12
to turbo...@googlegroups.com
If it's a ipv4 vs ipv6 issue it might be because turbogears1 by
default listened on 0.0.0.0 instead of 127.0.0.1.
If you want, you can change that in development.ini
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/turbogears/-/w9bs3tnQt4sJ.
Reply all
Reply to author
Forward
0 new messages