Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
Commonmark migration
Source Link

From InetAddress java 8 is not getting the hostname :

There was similar bug fired in JDK.

 

What I understand is that they changed default resolution process.

 

They honor configuration in /etc/nsswitch.conf where hosts are configured for /etc/hosts that gives it main priority for name resolution.

 

Usually /etc/hosts has record for 127.0.0.1 localhost that provide name for host localhost

From InetAddress java 8 is not getting the hostname :

There was similar bug fired in JDK.

 

What I understand is that they changed default resolution process.

 

They honor configuration in /etc/nsswitch.conf where hosts are configured for /etc/hosts that gives it main priority for name resolution.

 

Usually /etc/hosts has record for 127.0.0.1 localhost that provide name for host localhost

From InetAddress java 8 is not getting the hostname :

There was similar bug fired in JDK.

What I understand is that they changed default resolution process.

They honor configuration in /etc/nsswitch.conf where hosts are configured for /etc/hosts that gives it main priority for name resolution.

Usually /etc/hosts has record for 127.0.0.1 localhost that provide name for host localhost

Source Link
mikep
  • 3.9k
  • 11
  • 21

From InetAddress java 8 is not getting the hostname :

There was similar bug fired in JDK.

What I understand is that they changed default resolution process.

They honor configuration in /etc/nsswitch.conf where hosts are configured for /etc/hosts that gives it main priority for name resolution.

Usually /etc/hosts has record for 127.0.0.1 localhost that provide name for host localhost