# ServerAddress

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ServerAddress/

Struct for a server address.

- **Full name:** `MFiles.ServerAddress`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-network_address"></a>`network_address` | `string` | 1 | The network address (name) of the server. |
| <a id="f-endpoint"></a>`endpoint` | `string` | 2 | The endpoint of the server. |
| <a id="f-protocol_sequence"></a>`protocol_sequence` | `string` | 3 | The protocol sequence of the server. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCLogin.GetAuthenticationConfiguration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLogin/GetAuthenticationConfiguration/index.md): Tells a client, before login, whether to authenticate with an authentication plug-in (single sign-on) and returns the plug-in's client-side configuration.
- [IRPCLogin.GetAuthenticationPlugins](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLogin/GetAuthenticationPlugins/index.md): Lists the authentication plug-ins installed on the server, without their configurations.
- [IRPCLogin.GetPublicKeyAnonymous](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLogin/GetPublicKeyAnonymous/index.md): Gets the server's RSA public key without a session, for encrypting authentication data before login.
- [IRPCLogin.LogInRemote](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLogin/LogInRemote/index.md): Logs in (with authentication) to a remote server.
- [IRPCTest.TestConnectionToRemoteServer](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCTest/TestConnectionToRemoteServer/index.md): Asks this server to connect to another M-Files Server and call `TestConnectionToServer` there. Normally disabled.

<a id="used-in-fields"></a>

## Used in fields

- [`VaultEx.master_server_address`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.VaultEx/index.md#f-master_server_address): The address of the master server. Specified if the vault type is 'replica'.
- [`GetAuthenticationPluginsRequest.remote_can_be_null`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLogin/GetAuthenticationPlugins/index.md#request): If set, specifies the address of the remote server.
- [`LogInRemoteRequest.remote_server_addr`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLogin/LogInRemote/index.md#request): The address of the remote server.
- [`GetPublicKeyAnonymousRequest.remote_can_be_null`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLogin/GetPublicKeyAnonymous/index.md#request): If set, specifies the address of the remote server.
- [`GetAuthenticationConfigurationRequest.remote_can_be_null`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLogin/GetAuthenticationConfiguration/index.md#request): Leave unset. Naming a remote server needs a server setting that is off by default.
- [`TestConnectionToRemoteServerRequest.remote`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCTest/TestConnectionToRemoteServer/index.md#request): The MS-RPC address of the other server. Used only where the feature is enabled.
