• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem in connection when used proxy

 
jatin puri
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello!When in the below code if iam using a local address instead of yahoo.com,it is executing well,but if iam not using a local address then it is giving a java.net.SocketException.I use a proxy connection and i have set my proxy for java .pl help

 
Prasanna Puttappa
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to pass proxy ip and port configuration while opening url connection by setting system property or sending it as command line property. You may want to google for sample code.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!