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

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' => ['', '::1', '192.168.0.*', ''] // 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' => ['', '::1', '192.168.0.*', ''],


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