my dog learned polymorphism*
The moose likes Sockets and Internet Protocols and the fly likes URLConnection.connect does not work but openint a socket manually does..... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "URLConnection.connect does not work but openint a socket manually does....." Watch "URLConnection.connect does not work but openint a socket manually does....." New topic
Author

URLConnection.connect does not work but openint a socket manually does.....

John Landon
Ranch Hand

Joined: Sep 25, 2008
Posts: 227
Hi,
URLConnection.connect does not work but openint a socket manually does.....

java.net.ConnectException: Connection refused: connect

Any ideas?

Thanks.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: URLConnection.connect does not work but openint a socket manually does.....
 
Similar Threads
Question about Stub and Skeleton
Question regarding the SocketChannel
ANT tell telnet task problem
Connecting Sockets thru Proxy
Socket constructor error