Hello,
I have had a similar problem once or twice – since you can ping from your computer, maybe this does not apply.
I normally use B4A bridge and wireless connection. The phone IP is something like 192.168.0.xx. For some reason the phone loses the wireless connection temporarily and it connects to the cellular data network with an IP something like 308.XX.YY.ZZ. B4A reports "cannot connect".
Within a few minutes the wireless connection is back, the phone IP is returned to 192.168.0.xx, and the bridge works again.
May be this is the problem. I have no idea why the phone loses its wireless connection temporarily. This has only happened once or twice.
Barry.