javax.net.ssl.SSLException: hostname in certificate didn't match: <14.21.6.24> != <localhost>

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by mike
, 10 months ago
via Stack Overflow by Jagan Veeraraghavan
, 2 years ago
hostname in certificate didn't match: &lt;www.googleapis.com/74.125.47.95&gt; != &lt;*.googleapis.com&gt; OR &lt;googleapis.com&gt; OR &lt;*.googleapis.com&gt;
via Stack Overflow by Aldo
, 2 years ago
hostname in certificate didn't match: &lt;192.168.1.1&gt; != &lt;localhost&gt;
via GitHub by issuemover631
, 2 months ago
hostname in certificate didn't match: <libresonic.org> != <*.kashpureff.org> OR <*.kashpureff.org> OR <kashpureff.org> OR <www.kashpureff.org>
via GitHub by csobsidian
, 1 year ago
hostname in certificate didn't match: <libresonic.org> != <*.kashpureff.org> OR <*.kashpureff.org> OR <kashpureff.org> OR <www.kashpureff.org>
via Atlassian JIRA by Martin Burger, 1 year ago
hostname in certificate didn't match: <expectedhost> != <defaulthost>
javax.net.ssl.SSLException: hostname in certificate didn't match: <14.21.6.24> != <localhost>
at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:231)
at org.apache.http.conn.ssl.BrowserCompatHostnameVerifier.verify(BrowserCompatHostnameVerifier.java:54)

Users with the same issue

3 times, 1 year ago
5 times, 3 weeks ago
5 times, 4 months ago
Once, 5 months ago
3 times, 1 year ago
7 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.