Troubleshooting

Why is the server name not found?

Fix "nodename nor servname provided, or not known" in Wardterm: the server name has a typo, exists only on another network or is an alias from ssh config.

What you see

The app shows db.example.internal was not found. The details say:

failed to lookup address information: nodename nor servname provided, or not known

In the Connection log the attempt shows as Failed, server not reachable.

Why it happens

The device could not turn the name into an address. The name may have a typo, it may exist only inside a company network, or it may be a short alias that works only on the computer where it was set up.

What to do

  1. Check the spelling of the address in the server's settings.
  2. If the name belongs to a company or home network, connect to that network or its VPN first.
  3. If you copied the name from an ~/.ssh/config file, use the HostName value, not the Host alias. The import does this for you.
  4. A name written in the /etc/hosts file of a computer does not exist on your iPhone or iPad. Use the IP address there.
  5. Through a proxy, turn on Look up names on the proxy when only the proxy knows the name. Through a jump server, the jump server looks up the next name. See Jump hosts and proxies.

On a Mac, this shows whether the name has an address:

dscacheutil -q host -a name db.example.internal