IQ DIRECT

Blog

Navigation

  • Home
  • About us
  • Portfolio
  • Reviews
  • Blog
  • Contacts

Blog

Change the Remote Desktop Connection port on Windows Server

This manual apply to Windows Server 2012, 2008 R2, 2008, 2003

 

The latest attacks of ransomware viruses exploit poorly protected Remote Desktop access to connect to Windows servers, then crack weak passwords and encrypt sensitive data. Hundreds of hackers continously scan the Internet to find poorly protected servers. Once you install Windows Server, it gets to the scope of hackers rather quickly - in a couple of weeks of so.

 

Of course, the first countermeasure to avoid accidental hacker attack is to use secure password. Never use simple or easily guessed passwords, use at least 20 character passwords with different letter casing, numbers, special symbols.

 

One additional countermeasure to fight automated hacker attacks is to move RDP port from default 3389 to different number, which is known only to you. This will get your server off automated port scann alorithms used by hackers and viruses. 

 

As we said before, default Windows servers' Remote Desktop is listening on TCP port 3389. You can change the port to different number in range 1024-65535. 

Do not use lower port number since it is reserved by system. 

 

IMPORTANT: Make sure that remote access to your server through the new port is authorized in your Windows firewall before executing the next steps. 

TPL_COM_CONTENT_READ_MOREChange the Remote Desktop Connection port on Windows Server
How to get the current executable's path in C# (Code sample)

Sometimes you may want to get the current executable file path of your C# program. The working folder is needed to access settings, database, images, or resource files residing in the same directory as the currently running C# executable file of your program. 

There are several options to find the current executable path in C#. But we have found the one that is working both for C# .NET Console Applications and for C# Windows Forms Applications:

TPL_COM_CONTENT_READ_MOREHow to get the current executable's path in C# (Code sample)
How to download entire web site via FTP recursively using wget

Sometimes you need to download an enire website via FTP to your harddrive. This is needed if you want to make a backup or to move your site from one hosting provider to another. Of course you could use some GUI client like FileZilla, Midnight Commander or Gnome Commander. But what if you want to wrap the download process into shell script or maybe conduct the download as backgroud task to download one server's contents from another?

TPL_COM_CONTENT_READ_MOREHow to download entire web site via FTP recursively using wget
How to unzip file on Ubuntu Linux

When downloading files from the Internet you will often get an archive. The purpose of an archive among many is to reduce download size, reduce the number of files being downloaded to just one, provide a basic integrity check on the subject files, and sometimes provide additional security with the use of passwords. There are many archive types most commonly used of them are .zip, .rar. .7z, .tar.gz. Today we are going to speak about .zip archives. On Windows, there exist GUI archivers like WinZip, 7zip, or WinRAR, which are able to deal with most of the common archive types. Ubuntu Linux has a built-in Archive Manager that can be invoked by double-clicking on the .zip file in a GUI. 

But what can you do when you downloaded a zip file on Ubuntu Linux and have just a bare console? This can happen when you have installed Ubuntu Server or working from a Terminal program.

TPL_COM_CONTENT_READ_MOREHow to unzip file on Ubuntu Linux
  • Tips on starting online business In California
  • Ecommerce market share in the United Kingdom worth €153 billion
  • Hire an Employee or Contractor?
  • New RFID Visitor Tracking Technologies at Sports, Art, and Music Events
  • 3 Common Mistakes About IT Startups And How To Avoid Them

Page 52 of 58

  • 47
  • 48
  • ...
  • 50
  • 51
  • 52
  • 53
  • 54
  • ...
  • 56

Copyright ©2026 IQ DIRECT


main version