Polyfills-es5.js:17060 GET http://localhost:63504 net::ERR_CONNECTION_REFUSED

Hellow everyone, I am using using ASP.NET and MSSQL SERVER for backend and ionic/angular for frontend. My app works fine on google chrome but now I have built my application using capacitor to run it on emulator but when I make a request to my backend it gives me the error on chrome//inspect window. Anyone know how to resolve this issue!!!


polyfills-es5.js:17060 GET http://localhost:63504/api/AuthenticationsApi?Username=username@gmail.com&Password=password&Type=Patient net::ERR_CONNECTION_REFUSED