VPS & DedicatedWindows

Open ports on Windows

Open TCP and UDP ports in the Windows firewall of your VPS or dedicated server.

Use these commands to open a port in the Windows firewall of your server.

  1. Open Command Prompt as Administrator

    Press Windows + S, type cmd and choose Run as administrator.

  2. Open the port

    netsh advfirewall firewall add rule name="TCP Port " dir=in action=allow protocol=TCP localport=[replace_with_port_number]
GamePortProtocol
FiveM30120TCP and UDP
Minecraft25565TCP and UDP
Rust28015TCP and UDP

Video guide

The same steps on video: