How To Enable Telnet On Windows Link -

Replace <hostname> with the hostname or IP address of the remote server, and <port> with the port number you want to connect to (default is 23).

Example:

This is the most common method for users who prefer a visual interface. 5 Ways to Enable or Disable Telnet on Windows 11 how to enable telnet on windows

Navigate to "Programs and Features".