macOS · Cannot Find Host

macOS Error Code -1003

The hostname could not be resolved.

errorLast verified 2026-11-08Apple Developer: NSURLErrorDomain
Quick answer

The hostname could not be resolved.

Code-1003
ProductmacOS
Company / originApple · United States
CategoryOperating Systems
Platform / versionsmacOS 12 and later · NSURLErrorDomain
Severityerror
Official sourceApple Developer: NSURLErrorDomain ↗
Last verified2026-11-08

What does macOS error -1003 mean?

NSURLErrorCannotFindHost (-1003) means DNS resolution failed for the requested host. The domain may be misspelled, the DNS server may be unreachable, or the host may not exist.

Common causes

  • The hostname is misspelled or the domain has expired.
  • DNS is blocked or the resolver is unreachable.
  • The app is using a hostname that only exists on a different network.

How to fix it

  1. Step 1

    Check the URL and resolve the hostname with dig or nslookup.

  2. Step 2

    Test with a different DNS resolver or network.

  3. Step 3

    If the host is internal, confirm VPN or DNS search domains are configured.

When to escalate

Before you escalate: If a macOS URL error persists across networks and after restarting the app, capture the code, the URL, the time, and the Console log entries for the app, then contact the app developer or Apple Support with the details.

Related codes

CodeNameWhat it means
-1006Cannot Find HostThe DNS lookup for the host failed.
-1001The Request Timed OutThe request did not complete within the allowed time.
-1004Cannot Connect to HostThe host was found, but the connection could not be established.
-1005The Network Connection Was LostThe connection was established but then dropped.
-1009The Internet Connection Appears to Be OfflineThe device is not connected to the internet.

Source & verification

This page was checked against Apple Developer: NSURLErrorDomain on 2026-11-08. The code, product, and platform fields are kept separate from the explanation so corrections can be made without changing the URL.

Open Error Codes is independent and not affiliated with Apple. Always confirm destructive or security-sensitive steps with the official documentation.