ITITAN Hosting
  • 🇬🇧English
    • 👋Hello!
    • 🎮Games
      • ⚙️Game Panel
        • 👥Subuser
        • ⚙️Server reinstall
        • 📂SFTP connection
        • ⏩SFTP speed
        • ⏮️Server backup
        • 💾Database
        • 🔐2FA activation
        • 🔑Password reset
        • 📚Archive & unarchive
      • ⛏️Minecraft
        • ⚙️Changing the version
        • ➕Adding a plugin
        • 📦Modpack installation
        • 🖼️Adding an icon
        • OP settings
        • ✅Connecting non-premium players
      • 👮FiveM
        • 💾MySQL Database connection
        • 🖥️txAdmin activation
        • ✅Onesync activation
        • Server listing
    • 💻VPS
      • 🪟Windows
        • 🖥️Remote Desktop / RDP connection
        • 🌐Opening ports
      • 🐧Linux
        • SSH connection
  • 🇷🇴Română
    • 👋Salutare!
    • 🎮Jocuri
      • ⚙️Game Panel
        • 👥Subuser
        • ⚙️Reinstalarea serverului
        • 📂Conectare SFTP
        • ⏩Viteză SFTP
        • ⏮️Backup server
        • 💾Baza de date
        • 🔐Activare 2FA
        • 🔑Resetare parolă
        • 📚Arhivare și dezarhivare
      • ⛏️Minecraft
        • ⚙️Schimbarea versiunii
        • ➕Adăugare plugin
        • 📦Instalare modpack
        • 🖼️Adăugare pictogramă
        • Setări OP
        • ✅Conectare jucători Non-Premium
      • 👮FiveM
        • 💾Conectare bază de date MySQL
        • 🖥️Activare txAdmin
        • ✅Activare onesync
        • Listare server
    • 💻VPS
      • 🪟Windows
        • 🖥️Conectare Remote Desktop / RDP
        • 🌐Deschidere porturi
      • 🐧Linux
        • Conectare SSH
Powered by GitBook
On this page
  1. English
  2. VPS
  3. Windows

Opening ports

To open a port on a Windows VPS, follow these steps:

  1. Open the terminal (cmd);

  2. Run this command to open a port on the TCP protocol:

netsh advfirewall firewall add rule name="TCP Port <port>" dir=in action=allow protocol=TCP localport=<port>

2.1. Run this command to open a port on the UDP protocol:

netsh advfirewall firewall add rule name="UDP Port <port>" dir=in action=allow protocol=UDP localport=<port>

Replace <port> with the desired port.

Examples:

  1. Port 30120 (UDP+TCP), for FiveM:

netsh advfirewall firewall add rule name="TCP Port 30120" dir=in action=allow protocol=TCP localport=30120 & netsh advfirewall firewall add rule name="UDP Port 30120" dir=in action=allow protocol=UDP localport=30120
  1. Port 25565 (TCP), for Minecraft:

netsh advfirewall firewall add rule name="TCP Port 25565" dir=in action=allow protocol=TCP localport=25565
  1. Port 27015 (TCP+UDP), for CS2:

netsh advfirewall firewall add rule name="TCP Port 27015" dir=in action=allow protocol=TCP localport=27015 & netsh advfirewall firewall add rule name="UDP Port 27015" dir=in action=allow protocol=UDP localport=27015
  1. Port 28015 (TCP+UDP), for Rust:

netsh advfirewall firewall add rule name="TCP Port 28015" dir=in action=allow protocol=TCP localport=28015 & netsh advfirewall firewall add rule name="UDP Port 28015" dir=in action=allow protocol=UDP localport=28015

Last updated 5 months ago

🇬🇧
💻
🪟
🌐