File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 8834

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
Java remote debugging
CVS sync problom
regarding remote access on putty
ejb environment
exception: Connection timed out: connect