My Oracle Support Banner

Applicaiton Reports Error: Caused By: Java.net.UnknownHostException: <HOSTNAME>: Name Or Service Not Known (Doc ID 2942042.1)

Last updated on APRIL 19, 2023

Applies to:

JDBC - Version 11.2.0.4.0 and later
Information in this document applies to any platform.

Symptoms

The application is reporting the next error:

Caused by: java.net.UnknownHostException: : Name or service not known
  at java.base/java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
  at java.base/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:929)

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.