Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java.net.ConnectException: Network is unreachable  RSS feed

 
Amit Madhoriya
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am getting this exception while trying to connect to the web service server. However I am able to connect to the URL through my web browser but when I am trying to connect through my application it is throwing this exception. What can be the reasons?
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe the browser is connecting through a proxy?
 
Amit Madhoriya
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Yes, browser is connecting through proxy.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!