# server.Server.socketPath

- **Module:** server.Server
- **Package:** @libtmux/libtmux
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/2cb93308200da38a26b59876618116850f110607/packages/libtmux/src/server.ts#L283
- **Page:** https://libtmux.org/reference/ts/server-server-socketpath/

```
server.Server.socketPath() -> string | undefined
```

The socket path this server addresses, if it was given one.

## Example

```ts
new Server({ socketPath: "/tmp/tmux-1000/work" }).socketPath;
```
