Answer the question
In order to leave comments, you need to log in
Why doesn't android app connect to north on real device?
There is a server, there is a client for android. Connection using sockets over a local Wi-Fi network. On the emulator, the app connects fine to the server, but the real device doesn't. What could be the problem?
W/System.err: java.net.ConnectException: failed to connect to /192.168.56.1 (port 8383) from /:: (port 47742): connect failed: ECONNREFUSED (Connection refused)
at libcore.io.IoBridge.connect( IoBridge.java:137)
Answer the question
In order to leave comments, you need to log in
Problem solved. There were two of them at once: by default, my phone used a vpn server without my knowledge (and I thought why 50 percent of the charge on the network goes lol). The second one is connecting to the VirtualBox Host-Only Network Ethernet adapter, I decided to get into ipconfig for a reason. I, of course, needed a wireless network adapter.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question