Localhost based api not working in ionic 5

HTTP OR HTTPS BASED API NOT WORKING IN LOCALHOST (IIS7)

{“headers”:{“normalizedNames”:{},“lazyUpdate”:null,“headers”:{}},“status”:0,“statusText”:“Unknown Error”,“url”:“http://192.168.1.xx/api/LogIn/UserLogIn",“ok”:false,“name”:“HttpErrorResponse”,“message”:"Http failure response for http://192.168.1.32/api/LogIn/UserLogIn: 0 Unknown Error”,“error”:{“isTrusted”:true}}

I was setup my build file in IIS, and my API build was created on .net Core 8, and Ionic 5,
When I am using online domain API that time it works as expected, but When I try to use it with a local setup with IIS with IP it gives me the above error, I don’t have any solution please help me and Save my life.

You are going to need to provide more details for us to help - How do I ask a good question? - Help Center - Stack Overflow

It makes zero sense that your API was built with .NET Core and Ionic 5.