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
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: 9081

Can you open the URL with a web browser?

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Connection Timed out error