java.net.UnknownServiceException: protocol doesn't support input

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by eugene kim, 2 years ago
via Oracle Community by 807553, 1 year ago
protocol doesn't support input
via Stack Overflow by CodeMonkey
, 1 year ago
protocol doesn't support input
via Stack Overflow by bluchip.gr
, 2 years ago
protocol doesn't support input
via Coderanch by Andy Jung, 1 year ago
protocol doesn't support input
java.net.UnknownServiceException: protocol doesn't support input
at java.net.URLConnection.getInputStream(URLConnection.java:666)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:237)
at java.net.HttpURLConnection.getResponseMessage(HttpURLConnection.java:303)
at practice.MyClass.getResponseMessage(MyClass.java:12)
at practice.HelloWorld.doGet(HelloWorld.java:21)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.