# invalid public url

`TNL_PUBLIC_URL_INVALID`

the tnl server assigned a malformed or noncanonical public url hostname.

the server returned an invalid hostname

```text
+--[ where it stopped ]----------------------------------------+
|                                                              |
|  tnl server                                                  |
|     |                                                        |
|     x  invalid hostname                                      |
|  tnl (not publishing)                                        |
|                                                              |
+--------------------------------------------------------------+
```

## what happened

- the server returned a malformed hostname
- the client and server use incompatible public url contracts

## if you run tnl

- verify that tnl is connected to the intended server
- check control API and `tnld` logs on a self-hosted server

help: https://tnl.dev/e/public-url
