Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

do dial up line or dedicated line make a difference?

 
mihir maniar
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a simple java code that calls a servlet on a remote computer over the internet to send some files.if i do that using the dial up connection then it works fine but if i try to run the same code to send the file over the dedicasted line then it says net socket exception:refused to connect.so i make the setting for my computer (it is a proxy machine so i give the address of the proxy host like System.getProperties.put("ProxyHost","")with the ip address of the proxyhost machine and then System.getProperties.put("ProxyPort","") with the port number).so when i try to send it then the exe hangs and shows me the status of sending the file but the file is never sent. so please tell me how to break the ice.coz i want to make my java code to send the file over the lease line.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic