I am having trouble accessing a servlet through my imlet. the exception is thrown when I try to open the inputstream. There are no problems with my SIM as I can send/receive sms, make calls etc with the imlet. I can also create a GPRS connection when the SIM is in my phone.
Here's the code i am using to access the servlet
InputStream dis = null;
DataOutputStream dos = null;
HttpConnection c = null;
InputStream is = null;
String url = "http://188.8.131.52:16000/ModuleServlet?status=okay"
c = (HttpConnection)Connector.open( url );
is = c.openInputStream(); // the exception is thrown here.
Here is the excpetion that is thrown :
This is an ongoing problem and i really need it sorted .
I would greatly appreciate any feedback .