Base de connaissances · Serveurs dédiés et VPS

Comment effectuer un test Telnet sous Windows, Mac OS et Linux

Dernière mise à jour le 2026-02-27

Utiliser Telnet sur un appareil MacOS

Étape 1 : utilisez la fonction Spotlight pour rechercher Terminal et ouvrez-le.

 

Étape 2 : lorsque Terminal est ouvert, saisissez la commande suivante :

telnet domain.tld port-number

 

Par exemple, si vous souhaitez utiliser Telnet pour vous connecter à un serveur SMTP sur le port 25, vous utiliserez la syntaxe suivante :

telnet indichosts.com 25


 

 

 

Utiliser Telnet sur un appareil Linux

Étape 1 : ouvrez votre application Terminal.


Étape 2 : une fois Terminal ouvert, saisissez la commande suivante :

telnet domain.tld port-number


Par exemple, si vous souhaitez utiliser Telnet pour vous connecter à un serveur SMTP sur le port 25, vous utiliserez la syntaxe suivante :

telnet indichosts.com 25


 

 

 

Utiliser Telnet sur un appareil Windows

Telnet est intégré au système Windows 10, mais il est désactivé par défaut. Pour installer ou activer Telnet sur votre appareil Windows, suivez les instructions ci-dessous.

 

First let's install or enable Telnet on Windows 10 device using CMD or PowerShell

 If you prefer to use Control Panel interface instead, you can skip this section


Étape 1 : ouvrez une invite de commandes avec élévation de privilèges. Pour cela, faites un clic droit sur le menu Démarrer et sélectionnez Invite de commandes (admin) ou PowerShell (admin).


Step 2: Next, type this command into the Command Prompt or PowerShell:

dsim /online /Enable-Feature/FeatureName:TelnetClient


and press Enter to enable Windows 10. Telnet will be installed.

 

Optionally you can enable Telnet on a Windows 10 device using Control Panel

 If you have already installed via Command Prompt, CMD or PowerShell, you can skip this section


Ouvrez le Panneau de configuration de Windows 10. Vous pouvez appuyer sur la touche Windows + R, saisir control panel, puis appuyer sur Entrée pour ouvrir rapidement le Panneau de configuration.

Cliquez ensuite sur Programmes.

 

Cliquez ensuite sur Activer ou désactiver des fonctionnalités Windows, sous Programmes et fonctionnalités.


In the dialog window which opens, scroll down and look for Telnet Client. Check the box to the left of the option, then click the Ok button.

 

 

Windows will install the Telnet Client and you will see a window open while that takes place.

Cliquez sur OK une fois l’opération terminée.

 

 

 

Using Telnet on Windows 10 device after installation

Étape 1: faites un clic droit sur le menu Démarrer et choisissez Invite de commandes ou Windows PowerShell, selon votre configuration.

 


Étape 2: When the command prompt, or PowerShell loads, type the following command:

telnet domain.tld port-number

 

Par exemple, si vous souhaitez utiliser Telnet pour vous connecter à un serveur SMTP sur le port 25, vous utiliserez la syntaxe suivante :

telnet indichosts.com 25

 

 

Ports Telnet courants

587 – Port SMTP alternatif
465 - SMTP sécurisé

110 – Messagerie POP

22 – SSH

143 – IMAP

You can find a list of other ports ici.

← Tous les articles de la base de connaissances

Tell us what you need

Compare available plans or describe your workload so we can discuss a suitable starting point.