Connection to server unsuccessful

I am getting error attached below on running command ionic cordova run android -l -c
please guide me how can i solve it

Is this the IP of your local computer?
Can you access this IP:Port in your device’s browser?

It accessible from pc and in mobile too but in mobile it takes long to open and other thing i have noticed that sometime it runs but it shows logs in this way
[20:31:29] console.log: [object Object]
how can i expand array like it happen in browser

Did you remote debug the problem on the device already? Follow these instructions here to debug the problem in Chrome dev tools: https://ionic.zone/debug/remote-debug-your-app#android Look at the console and network tabs for errors.

There is a timeout value in config.xml that you can increase so the native app accepts longer loading times.

chrome debug not shows logs of native plugins like camera i just want to expand array how can i do that

I assume you get this in your command line because of the -c in the command you run.

That means it is a console.log output on the device. Use remote debugging to connect to the device and look at this exact log output you see in your command line.

I had the same problem and solved it disabling my computer firewall.