I am developing my app and though I better do a real test on my device, however this did not go so well.
My app connects to a local Websocket server on the local network, and in preview this works great, in Android studio in the Emulator, this works great...
On my device, android studio logs the following...
WebSocket connection to 'ws://192.168.1.118:2048/mysock/' failed: WebSocket is closed before the connection is established.
Any ideas?
EDIT: Looks like this is a windows firewall issue after all!