1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
PING and TELNET commands
PING allows you to know whether a machine is accessible via the internet. With this tool you can also check whether you are addressing the right machine, during a DNS change for example, by looking at the IP address obtained. You can carry out a ping on a domain name, a hostname or an IP address.
TELNET allows you to test the connection to a server irrespective of all the additional rules of a mail client or an FTP client in order to determine the source of a problem. If the connection does not work on an SMTP server, you will need to check for example whether your firewall is blocking port 587.
Under Mac OS X
- search for Network utility
- Go to the Ping, Lookup or Traceroute tab, depending on what you want to test
- You can also use Terminal and in the window which opens, depending on what you want to test, type:
Replace[serveur] par le nom du serveur ou son adresse IP, idem pour [port]
Under Windows (enable Telnet beforehand if necessary)
- open Run and type cmd
- In the window which opens, depending on what you want to test, type:
telnet [serveur] [port]
For example: telnet mail.infomaniak.com 143
- use the application Simple Telnet Client for free, which allows you to very simply test via 2 fields to be completed (via mail.infomaniak.com and the port 143).
However, if you mainly want to check that your site is correctly online (using scripts which would like to ping the hosting at regular intervals for example) then you need to use another method (click here).