Forbidden (#403)
You are not allowed to access this page.

/opt/lampp/htdocs/amyflash/blogdemo2/vendor/yiisoft/yii2-gii# vim Module.php
public $allowedIPs = ['127.0.0.1', '::1','your ip'];

这样在 allowedIPs 数组里面的IP全部可以访问了