Register / Login
Win a copy of
Java Mock Exams (software)
this week in the
Programmer Certification (OCPJP)
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Java Micro Edition
ConnectionNotFoundException occur when open https connection in CerEm J.V.M.
posted 2 years ago
I have a web site "simple-soft.info" that is listening to port 80(http) and port 443(https). When I execute following code in CrE-ME™ v4.12 jvm:
HttpConnection conn = (HttpConnection) Connector.open("http://simple-soft.info/");
My Program works correctly without any issue. When I execute following code in CrE-ME™ v4.12 jvm:
HttpConnection conn = (HttpConnection) Connector.open("https://simple-soft.info/");
I am getting ConnectionNotFoundException : The requested protocol does not exist
When I execute following code in
URL url = new URL("http://simple-soft.info/"); HttpURLConnection conn = (HttpURLConnection) url.openConnection();
URL url = new URL("https://simple-soft.info/"); HttpURLConnection conn = (HttpURLConnection) url.openConnection();
I don't get any problem.
Please help me to solve this https issue in CrE-ME™ v4.12 jvm.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
Boost this thread!
ConnectionNotFoundException please help
ConnectionNotFoundException using TCP loopback interface