# server.serverAddress

- **Module:** server
- **Package:** @libtmux/libtmux
- **Language:** TypeScript
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-ts/blob/2cb93308200da38a26b59876618116850f110607/packages/libtmux/src/server.ts#L150
- **Page:** https://libtmux.org/reference/ts/server-serveraddress/

```
server.serverAddress(runtime: : RuntimeContext) -> string | undefined
```

Which tmux this runtime addresses, or `undefined` when that is unknowable.

An engine's socket is a path on a machine this process cannot see, so the
socket alone does not name the daemon. Unknowable rather than guessed: an
engine that declares no endpoint is the one case where answering would mean
inventing the fact the comparison turns on.
