Android - DNS - Problem with app after changing ip server

Viewed 11

I need help. Today I had to change my server. I set new IP for record A (DNS) and now I have problem. SSL on new machine is ok (verifed by https://www.sslshopper.com/)

but

"java.security.cert.CertPathValidatorException: Trust anchor for certification path not found"

How can I flush DNS on andorid? My app is still offline.. :( for 4 hours..

Everywhre I use:

java.net.URL url = new URL("https://mydomain.pl/rest,...");
                HttpURLConnection conn = (HttpURLConnection) url.openConnection();
0 Answers
Related