1.通过接口操作路由时X-API-KEY cd /usr/local/apisix/conf vim config-default.yaml 注释掉这一部分 #allow_admin: # http://nginx.org/en/docs/http/ngx_http_access_module.html#allow # - 0.0.0.0/24 # If we don't set any IP list, then any IP access is allowed by default. # - "::/64" 2.放开9180端口 port_admin: 9180