Gii access Forbidden

i placed yii in my local computer, today i’ve got error page when accessing gii modules,

then i try to configure some code based on yii framework page on how to install and configuring the Gee code generator as in url http://www.yiiframework.com/doc-2.0/guide-tool-gii.html

and then, i run again the page, but still fail,

are then anyone help me, please?

You should add your machine IP.


'gii' => [

    'class' => 'yii\gii\Module',

    'allowedIPs' => ['127.0.0.1', '::1', '192.168.0.*', '192.168.178.20'] // adjust this to your needs

],

Get IP Address

yes abed, off course, i’ve added such configuration, here my codes:

$config['modules']['gii'] = [


    'class' => 'yii\gii\Module',


    'allowedIPs' => ['127.0.0.1', '::1', '192.168.0.*', '192.168.88.142'],


];

but, i can’t access it with the message “Forbidden (#403)”; You are not allowed to access this page.