| | |
| | | import org.opends.messages.Message; |
| | | import org.opends.messages.MessageBuilder; |
| | | import org.opends.quicksetup.Constants; |
| | | import org.opends.quicksetup.UserData; |
| | | import org.opends.quicksetup.util.Utils; |
| | | import org.opends.server.admin.client.cli.SecureConnectionCliArgs; |
| | | import org.opends.server.admin.client.cli.SecureConnectionCliParser; |
| | |
| | | { |
| | | if (defaultLocalHostValue == null) |
| | | { |
| | | defaultLocalHostValue = UserData.getDefaultHostName(); |
| | | try |
| | | { |
| | | defaultLocalHostValue = |
| | | java.net.InetAddress.getLocalHost().getHostName(); |
| | | } |
| | | catch (Throwable t) |
| | | { |
| | | } |
| | | if (defaultLocalHostValue == null) |
| | | { |
| | | defaultLocalHostValue = "localhost"; |