This error occurred in the WTK emulators when I tried to make a connection to a C++ socket using this following piece of code in J2ME:
StreamConnection conn = (StreamConnection)Connector.open(url);
in which url is http://localhost:1234.

TIA for any helpful hints to the problem.