Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8299827

Add resolved IP address in connection exception for sockets

    XMLWordPrintable

Details

    • b07

    Backports

      Description

        One of the reasons a connect() call of a socket can fail are stale DNS entries. To make it easier to spot and debug those problems it would be good if in addition to providing the host name, the resolved ip address is included in the exception text too (at least if the connection failed not using an ip address itself).

        Attachments

          Issue Links

            Activity

              People

                rschmelter Ralf Schmelter
                rschmelter Ralf Schmelter
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: