# Port

> The port on which the server listens for connections.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.DedicatedServer](/engine/6000.6/script-reference/unityengine/dedicatedserver.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static int? Port { get; set; }
```
