# The stateManager.getKnownServers() method
This documents the `stateManager.getKnownServers() method.`

## General usage:
```ts
const servers: CoreServer[] = taClient.stateManager.getKnownServers();
```

This method will return an array of the known `CoreServer`s. A `CoreServer` can be described by the following TypeScript Interface:
```ts
interface CoreServer {
    /**
     * @generated from protobuf field: string name = 1;
     */
    name: string;
    /**
     * @generated from protobuf field: string address = 2;
     */
    address: string;
    /**
     * @generated from protobuf field: int32 port = 3;
     */
    port: number;
    /**
     * @generated from protobuf field: int32 websocket_port = 4;
     */
    websocketPort: number;
}
```

This means that a `CoreServer` has a `name`(such as 'Default Server' in the case of the default server), an `address`('server.tournamentassistant.net' in the case of the default server), a `port` which the players connect to(8675 by default), and a `websocketPort` to which coordinators, overlays and the client connects to(by default 8676)