Unable to call my REST call

i am using mongo and express for the service layer and have deployed in openshift cloud. i can access api through postman and it works when i do ionic serve.
but when i converted through capacitor and tried to run on android device the rest call never happens. im not able to get pass login screen.
the error i get in android console-
E/Capacitor/Console: File: http://localhost/vendor-es2015.js - Line 46777 - Msg: ERROR

cant understand what it means, can someone help please?

got my ans in stackoverflow