This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connection timeout in URL connection

 
jagrutkumar dalwadi
Ranch Hand
Posts: 83
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to fire particular url through java. code is put here.



When i am using this code, "Exception in thread "main" java.net.ConnectException: Connection timed out: connect" comming.

Please do the needful.

 
Rob Spoor
Sheriff
Pie
Posts: 20511
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you open that site from a browser? If so, does the browser use a proxy?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic