Adding a port to your server [IMPORTANT] Print

  • 6

How to add a port to your server.

Disclaimer - 

Server security is vital. We give you all the guides necessary to make your server as secure as possible, however it is your responsibility to act upon them. Our backend is as secure as it can get, the front end however is your responsibility.

Run the following commands on your server, not your local host.

1) Go to Windows Search, and search Powershell

2) Choose a port of your liking, the port has to be greater than 1000, make sure you remember the port.

3) Run the following commands (Change 3390 to the port you want, 3390 is just an example)

Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -name "PortNumber" -Value 3390
New-NetFirewallRule -DisplayName 'RDPPORTLatest' -Profile 'Public' -Direction Inbound -Action Allow -Protocol TCP -LocalPort 3390
New-NetFirewallRule -DisplayName 'RDPPORTLatestpriv' -Profile 'Private' -Direction Inbound -Action Allow -Protocol TCP -LocalPort 3390

4) Restart your server and you are good to go.

5) Make sure you connect to your server by putting ip:port so for example if my IP is 192.168.0.1 and my port is 3390 I would use 192.168.0.1:3390 as the IP I would connect with.

 

If you have any more questions please create a ticket here: https://discord.gg/eDe2JK2CsP


Was this answer helpful?

« Back