# getNodeAlias {#getnodealias}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`getNodeAlias()`

## Arguments {#arguments}

None

## Details {#details}

Return the alias of the local node, which is defined in the configuration file *dolphindb.cfg*.

## Examples {#examples}

```
getNodeAlias();
// output: controller2
```

