# Set Spectator Port

{% hint style="success" %}

#### Like what you're seeing?

Support us as a [GitHub Sponsor](https://kb.heathen.group/old-kb/where-to-buy/become-a-sponsor) and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude.\
\
These articles are made possible by our [GitHub Sponsors](https://kb.heathen.group/old-kb/where-to-buy/become-a-sponsor) ... become a sponsor today!
{% endhint %}

## Introduction

{% hint style="warning" %}
Only valid for Steam Game Servers
{% endhint %}

Set whether the game server allows spectators, and what port they should connect on. The default value is 0, meaning the service is not used.

### Port

{% hint style="info" %}
Valve uses 27017 as a default
{% endhint %}

The port for spectators to join.

## Nodes

<figure><img src="https://4053370152-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZWu8yFOWhCYCMkJFmR%2Fuploads%2FCLQ1tNnnPuGO3gDFsjMN%2Fimage.png?alt=media&#x26;token=722b2646-58e9-4f70-9493-b8eb34765b4f" alt=""><figcaption></figcaption></figure>
