Skip to main content

How to Change the Default Port on Your Terraria Server

Note: To change default port settings successfully, ensure the new port is already allocated to your server in the Cybrancee panel before editing your configuration file.

1. Log In to Your Panel


2. Select the ‘Console’ Tab

From the left navigation menu, select the ‘Console’ tab to access your server control dashboard.

Selecting the Console tab from the Cybrancee control panel sidebar.

3. Stop Your Server

Click the red ‘Stop’ button on the console dashboard and wait until your server status displays ‘Offline’.

Selecting the Stop button on the server console to shut down the Terraria server.

4. Select the ‘Ports’ Tab

From the left navigation menu, select the ‘Ports’ tab under the Management section to view your server’s allocated port numbers.

Selecting the Ports tab from the Cybrancee control panel sidebar.

5. Select the ‘Files’ Tab

From the left navigation menu, select the ‘Files’ tab to access your server root directory.

Selecting the Files tab from the Cybrancee control panel sidebar.

6. Open the serverconfig.txt File

Locate the serverconfig.txt file in the file list and click on it to open the configuration editor.

Locating and opening the serverconfig.txt file in the Cybrancee file manager.

7. Change the Port Setting

Locate the port parameter and enter your new allocated port number after the equal sign.

Updating the port parameter in the serverconfig.txt editor.

8. Save Your Changes

Click the purple ‘Save Content’ button in the top right of the file editor to save your port configuration.

Clicking the Save Content button to save changes to serverconfig.txt.

9. Return to the ‘Console’ Tab

From the left navigation menu, select the ‘Console’ tab to return to the server dashboard.

Returning to the Console tab from the Cybrancee control panel sidebar.

10. Start Your Server

Click the green ‘Start’ button to launch your Terraria server with the new port configuration.

Clicking the Start button on the server console to start the Terraria server.

Terraria Server Hosting

Starts at $3.99

External link icon
Was this article helpful?
Please Share Your Feedback
How Can We Improve This Article?
Table of Contents