SUSE Support

Here When You Need Us

SUSEConnect error: SocketError: getaddrinfo: Name or service not known

This document (7016105) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Desktop 12


When trying to register a SLE12 server to the SuSE Customer Center via command line using SUSEConnect the following error is produced: 
SUSEConnect error: SocketError: getaddrinfo: Name or service not known 


The possible issues are: 
  • The machine can't reach a DNS server to resolve the name to IP
  • The DNS server cannot resolve the hostname

Make sure a DNS server is setup for this machine and it can resolve the hostname of as well as


The SLE12 server cannot reach the registration server (


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7016105
  • Creation Date: 27-Jan-2015
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Desktop
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.