Hi Jatinder, You can check the access log and the remote address will show you what the IP address APISIX got from the request.
If the IP is what you expect, try debugging this: 1. See whether there is one or more nodes between the APISIX and your request client. 2. Check real_ip_module, it's possible that APISIX thinks the direct previous hop's IP is the client's IP. On Fri, Nov 5, 2021 at 10:06 PM Jatinder Kaur <jatinder.kaur@escalon.services.invalid> wrote: > > Hi Team, > > I am trying IP restriction Plugin I have whitelisted 2 Ips on one route but > it says "IP does not allowed" > when I am hitting the endpoint from servers which is Ip is allowed on > endpoint. How can I debug this issue ? How IP restriction plugin detect the > IPs from the request ? > > I am using PHP curl to request the apisix endpoint... > > I posted the same on slack but didn't get the answer. Please help me on it. > > Thanks > Jatinder > > [https://d3ilhdmygrlpl2.cloudfront.net/images/signature/ebs-logo.png]<http://www.escalon.services> > > > Jatinder Kaur > Technical Architect, Escalon Services > www.escalon.services<http://www.escalon.services> > > jatinder.kaur@escalon.services <mailto:jatinder.kaur@escalon.services> > > > > >