[Grok-dev] Problem with Tutorial / 'Sample' Project

Souheil CHELFOUH trollfot at gmail.com
Thu Feb 18 08:58:06 EST 2010


out of the blue, I'll just give it a guess :
your deploy.ini is configured to respond only on 127.0.0.1
have a look in $yourfolder/parts/etc/deploy.ini
You'll find a section that will define what port is used and the IP to serve on:
you can change it to : 0.0.0.0:8080

2010/2/18  <grok at richardshea.fastmail.fm>:
> Hi - I've been following the tutorial. I have done ...
>
> $ grokproject Sample
> $ cd Sample
> $ bin/paster serve parts/etc/deploy.ini
>
> ... and sure enough I can login when I access http://localhost:8080 on
> the same machine. However when I try to access http://myhostname:8080 I
> don't get the web page.
>
> I realise this looks like a firewall problem except that on the same
> host I also have a Zope installation which serves on 8080 and if I start
> that and attempt to access http://myhostname:8080 I get served the
> pages.
>
> Is there something about the default setup of Grok projects that it will
> only serve pages locally until you do something to it ?
>
> thanks
>
> Richard.
>
>
>
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> https://mail.zope.org/mailman/listinfo/grok-dev
>


More information about the Grok-dev mailing list