java.net.SocketException: Network is unreachable

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 Atlassian JIRA by Peter Koczan, 1 year ago
Network is unreachable
via Google Groups by Kate Alpert, 1 year ago
via Google Groups by Owen Murphy, 4 months ago
Network is unreachable
via Stack Overflow by Angelo Immediata
, 2 years ago
Network is unreachable
java.net.SocketException: Network is unreachable
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:117)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
at com.adaptavist.analytics.common.GoogleAnalyticsService.sendDataToAnalytics(GoogleAnalyticsService.java:69)
at com.adaptavist.analytics.common.GoogleAnalyticsService.sendDataToAnalytics(GoogleAnalyticsService.java:47)
at com.adaptavist.analytics.macrosusage.AbstractAnalyticsLegacyMacro.execute(AbstractAnalyticsLegacyMacro.java:37)
at com.adaptavist.confluence.contentformatting.ContentFormattingMacro.renderMacro(ContentFormattingMacro.java:49)
at com.adaptavist.analytics.macrosusage.AbstractAnalyticsLegacyMacro.execute(AbstractAnalyticsLegacyMacro.java:32)
at com.adaptavist.confluence.contentformatting.ContentFormattingMacro.renderMacro(ContentFormattingMacro.java:49)
at com.adaptavist.analytics.macrosusage.AbstractAnalyticsLegacyMacro.execute(AbstractAnalyticsLegacyMacro.java:32)
at com.adaptavist.confluence.contentformatting.ContentFormattingMacro.renderMacro(ContentFormattingMacro.java:49)
at com.adaptavist.analytics.macrosusage.AbstractAnalyticsLegacyMacro.execute(AbstractAnalyticsLegacyMacro.java:32)
at com.adaptavist.confluence.contentformatting.ContentFormattingMacro.renderMacro(ContentFormattingMacro.java:49)
at com.adaptavist.analytics.macrosusage.AbstractAnalyticsLegacyMacro.execute(AbstractAnalyticsLegacyMacro.java:32)
at com.adaptavist.confluence.contentformatting.ContentFormattingMacro.renderMacro(ContentFormattingMacro.java:49)
at com.adaptavist.analytics.macrosusage.AbstractAnalyticsLegacyMacro.execute(AbstractAnalyticsLegacyMacro.java:32)
at com.adaptavist.confluence.contentformatting.ContentFormattingMacro.renderMacro(ContentFormattingMacro.java:49)
at com.adaptavist.analytics.macrosusage.AbstractAnalyticsLegacyMacro.execute(AbstractAnalyticsLegacyMacro.java:32)
at com.adaptavist.confluence.contentformatting.ContentFormattingMacro.renderMacro(ContentFormattingMacro.java:49)
at com.adaptavist.analytics.macrosusage.AbstractAnalyticsLegacyMacro.execute(AbstractAnalyticsLegacyMacro.java:32)
at com.adaptavist.confluence.contentformatting.ContentFormattingMacro.renderMacro(ContentFormattingMacro.java:49)
at com.adaptavist.analytics.macrosusage.AbstractAnalyticsLegacyMacro.execute(AbstractAnalyticsLegacyMacro.java:32)
at com.adaptavist.confluence.contentformatting.ContentFormattingMacro.renderMacro(ContentFormattingMacro.java:49)
at com.adaptavist.analytics.macrosusage.AbstractAnalyticsLegacyMacro.execute(AbstractAnalyticsLegacyMacro.java:32)
at com.adaptavist.confluence.contentformatting.ContentFormattingMacro.renderMacro(ContentFormattingMacro.java:49)

Users with the same issue

Once, 1 year ago
4 times, 4 months ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
108 more bugmates

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