V
V
Vladislav Vinokurov2019-03-27 18:45:31
Java
Vladislav Vinokurov, 2019-03-27 18:45:31

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

1 answer(s)
V
Vladislav Vinokurov, 2019-03-27
@KDoV

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.
5c9bbcff25278845741318.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question