
If the ping works but connecting a domain name doesn’t, we are looking at a DNS issue. It could be that the computer is not connecting to a DNS server properly. We should try to ping the IP address that we are looking to connect to. We can check to see if the service has been started and is running properly using the following command: sudo systemctl status SERVICENAME The service itself might not have been started. We can check whether the host is online using ping command. This can be tested using the command given below: telnet server_name port_numberįor instance, telnet 25


Now, let’s see the different causes of this error. While trying to send mail, it results in the error: SMTP ERROR: Failed to connect to server: No route to host (65) Today we’ll take a look at how to fix this SMTP error. Here at Bobcares, we have seen several such SMTP related errors as part of our Server Management Services for web hosts and online service providers.

Usually, this error occurs when the port is blocked at the hosting end or ISP. Normally, ‘SMTP error no route to host’ error occurs while sending emails.
