AuroraDocumentationPowered byPhoton

How to open ports on Windows

This guide will go through how to port forward applications on your Windows VPS

On Windows there are a few different ways to open ports for your applications, this guide will go over two methods.

Method 1 (Allowing the app via the firewall)

Open Control Panel

On your Windows VPS open the control panel. control-panel

Getting to the firewall section

Once open lookup Firewall in the search bar and then select Allow an app through Windows Firewall firewall-control-panel

Allow an app through the firewall

In the bottom right click Allow another app firewall-control-panel

Add your application

A pop up will appear, click Browse firewall-control-panel

Selecting your application

For the purpose of this guide we'll be allowing the FiveM server application (FXServer.exe) through our firewall. Once you've found your application, select it and click Open firewall-control-panel

Confirm your selection

Once the application is selected click Add firewall-control-panel

All done!

Now that you've selected your application make sure to click Ok and you're done! Your application is now port forwarded firewall-control-panel

Method 2 (Open via port number)

This method is the more traditional way of opening ports via the Windows Firewall Manager

Open the Windows Firewall Manager

On your VPS press WIN + R and type wf.msc in the popup wf

Click on Inbound rules

Once Windows Defender Firewall is open click on Inbound rules wf-open

Click on New rule

In the inbound rules section on the right hand side click New Rule inbound-rules

Click on port

Select the port option then click Next port

Select your protocol and ports

Depending on the application you want to port forward you'll need to select a different protocol. For the purpose of this guide we will be opening the ports for a FiveM server port-selection Listed here are some common ports for game applications:

Game / PlatformPort(s)ProtocolNotes / Purpose
Minecraft (Java Edition)25565TCP / UDPDefault port for Java server connections.
Minecraft (Bedrock)19132, 19133UDP19132 for IPv4, 19133 for IPv6.
FiveM (GTA V)30120TCP / UDPDefault server port.
txAdmin (FiveM)40120TCPUsed for the txAdmin web interface.
Source Engine Games27015TCP / UDPStandard for CS:GO, CS2, TF2, Garry's Mod, L4D2.
Rust28015, 28016TCP / UDP28015 for game; 28016 for RCON.
Palworld8211, 27015UDP8211 for game connection, 27015 for Steam Query.
ARK: Survival Evolved/Ascended7777, 7778, 27015UDP7777/7778 for game traffic, 27015 for Steam Query.
Valheim2456, 2457, 2458UDP2456 for server, 2457 for Steam Query.
Terraria7777TCPDefault game port.

Once you've entered the port and protocol that you need click Next

Click Allow the connection

Ensure that Allow the connection is selected and click Next allow

Ensure all boxes are ticked

Make sure that Domain, Private and Public are checked and then click Next confirm

Name your rule

The final step in this process is to name your profile, you can name it anything your heart desires. For the purpose of this guide I'm going to be naming the profile FiveM TCP. name

Testing your rules

Once you've opened the ports you can test your rules by connecting to your application or if you want to check if your ports are open you can use ping.pe to check if your TCP ports are open.

On ping.pe enter the following command in the search bar tcp ip:port then click Go. Ex: tcp 128.254.184.3:30120 test

All done!

If your application is running on your VPS and you properly port forwarded you should see the following after running a test on ping.pe test-done