File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes do dial up line or dedicated line make a difference? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "do dial up line or dedicated line make a difference?" Watch "do dial up line or dedicated line make a difference?" New topic
Author

do dial up line or dedicated line make a difference?

mihir maniar
Ranch Hand

Joined: Sep 09, 2003
Posts: 88
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.
 
Consider Paul's rocket mass heater.
 
subject: do dial up line or dedicated line make a difference?
 
Similar Threads
Java Net Dialing
Servlet-Applet Communication.
Using network proxy settings in java program
java.net Socket port number question
MQJMS2005: failed to create MQQueueManager for 'WAS_localhost_server1'