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

Uli Fouquet uli at gnufix.de
Thu Feb 18 09:17:42 EST 2010


Hi there,

Souheil CHELFOUH wrote:
> 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

Yes, that's a security measure in order not to open your instance
automatically to the whole world :-)

You should edit the 'host' entry near bottom of deploy.ini titled
``[server:main]`` But instead editing

  $yourfolder/parts/etc/deploy.ini

you might consider editing

  $yourfolder/etc/deploy.ini.in

(and maybe $yourfolder/etc/debug.ini.in) and running bin/buildout
afterwards. That will create new .ini files in parts/.

As a rule of thumb: please only edit things in parts/ for really good
reason. Avoid it if you can, as there are only generated files that
might be overwritten or even deleted on a new buildout run.

Best regards,

-- 
Uli

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://mail.zope.org/pipermail/grok-dev/attachments/20100218/24911b2d/attachment.bin 


More information about the Grok-dev mailing list