Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Http Connection Problem

0 replies · 2,057 views · Started 30 June 2003

Hi Everyone,

I am using P800 and trying to make an Http connection using java.net.URL class.

the code looks like this,

..

URL url = new URL("someUrl"😉;
URLConnection uc = url.openConnection();
uc.setDoOutput(true);
uc.setDoInput(true);
InputStream ip = uc.getInputStream();

..

The url which I am trying to get connected is reachable using the browser,
but when i am using in my personal java application, it gives me connection timed out exception..

Does any one have a clue about it ?

Thanks,

Chintan.