my dog learned polymorphism*
The moose likes Sockets and Internet Protocols and the fly likes Connection Timed out error 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 "Connection Timed out error" Watch "Connection Timed out error" New topic

Connection Timed out error

Felipe Walker
Ranch Hand

Joined: Sep 23, 2003
Posts: 41
I am trying to connect to a webserver and read a file. I am using a URLConnection and keep getting the error Connection timed out:connect

any suggestions?

I am trying to connect to the file via vpn to my companys website on port 80
Joe Ess

Joined: Oct 29, 2001
Posts: 8839

Can you open the URL with a web browser?

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Connection Timed out error
Similar Threads
ejb environment
exception: Connection timed out: connect
Java remote debugging
CVS sync problom
regarding remote access on putty