You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/07/31 07:10:39 UTC

[GitHub] [apisix] butterfly1924 commented on issue #1689: Use ipv4 API turn out 403 error

butterfly1924 commented on issue #1689:
URL: https://github.com/apache/apisix/issues/1689#issuecomment-1200364525

   Hi, I had the same problem too. I had disabled ipv6 on apisix and my localhost was resolved to ::1 instead of 127.0.0.1. After changing conf/config.yaml to 
   ```
     allow_admin:                  # http://nginx.org/en/docs/http/ngx_http_access_module.html#allow
       - 0.0.0.0/0              # If we don't set any IP list, then any IP access is allowed by default.
       - "::/64"
      
   ```
   It starts to work.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org