How to connect to the socket? if 1 address is not working
All code in the service
Socket socket = null; try { socket = new Socket("188.244.144.211", 49111); } catch (IOException e) { socket = new Socket("188.244.144.212", 49111); } It still does not work, the program on the android works and does not crash, but there is also no shortcut.
How to do so to connect to 1 ip if there is no connection then connect to 2?
It's amazing that even I can't check if the server is working with this IP right now. Debag also does not help PEOPLE HELP !!!