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

Paul Wilson paulalexwilson at gmail.com
Thu Feb 18 09:27:28 EST 2010


On 18 February 2010 14:21, Souheil CHELFOUH <trollfot at gmail.com> wrote:
> I should have precised that !
> Thank you Uli
> This was a raw solution to show the problem, heh :)
>
> I hope it made it for you, Richard
>
> 2010/2/18 Uli Fouquet <uli at gnufix.de>:
>> 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.

I'm assigned to updating the following document:

http://grok.zope.org/documentation/how-to/selecting-the-port-and-interface-where-grok

I'll be sure to add this information to it.

Thanks,
Paul


More information about the Grok-dev mailing list