[SOLVED] Android: socket failed: EACCES (Permission denied)

When you try to connect with web server you got the following exception: java.net.SocketException: socket failed: EACCES (Permission denied) at java.net.Socket.createImpl(Socket.java:492) at java.net.Socket.getImpl(Socket.java:552) at java.net.Socket.setSoTimeout(Socket.java:1180) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:244) at ... okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:254)…

Continue Reading [SOLVED] Android: socket failed: EACCES (Permission denied)

[SOLVED] Android: Cannot send data to the server. CLEARTEXT communication to not permitted by network security policy

When you try to connect with a server via HTTP, you got the exception like below Cannot send data to the server java.net.UnknownServiceException: CLEARTEXT communication to 192.168.1.175 not permitted by…

Continue Reading [SOLVED] Android: Cannot send data to the server. CLEARTEXT communication to not permitted by network security policy

[SOLVED] org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR:

Here you can find the solution for a problem: org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR exception The problem When you invoke a web service you got the exception like below: org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR: A node…

Continue Reading [SOLVED] org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR: