I want to make a J2ME application which accesses the servlet on server. That server fetches the data from database and sends back. My J2Me application reads that data. My application runs fine and shows the data from database when i give it a local IP in URL but when i give it a URL of live server, it throws an exception javax.microedition.io.ConnectionNotFoundException: TCP open
Could you please help me resolve this problem? Firewall are turned off. I think firewall is not problem here.
I suspect you have no route to the public host. If your device has a built-in web browser, try supplying that URL it it and see what happens. As long at the browser can access the URL, your JME app should be able to do so as well.
An IDE is no substitute for an Intelligent Developer.