WebRequest using c# (VS2008) is perfectly working but not on JAVA (Ecplise)

Posted by Daniel on Stack Overflow See other posts from Stack Overflow or by Daniel
Published on 2010-05-25T06:23:57Z Indexed on 2010/05/25 6:31 UTC
Read the original article Hit count: 239

Filed under:
|
|

Hi, I'm trying to read data from a webpage, and I have to do it using JAVA. When I try to do it in Eclipse using JAVA i'm getting time out error: java.net.ConnectException: Connection timed out: connect (Using HttpURLConnection)

In order to understand where is the problem I tried doing the same task using c# and VS2008, and it worked perfectly fine, no time out at all.

What can be the reason for this?

Thanks! Daniel

© Stack Overflow or respective owner

Related posts about java

Related posts about timeout