How to use telnet?

Home » Knowledge Base » Server Management » How to use telnet?

Telnet allows you to see if you have а connection to a specific hostname on a given port. To use Telnet you need to execute the following command through your computer’s console or command prompt:
telnet HOSTNAME PORT

To quit telnet use the combination of “Ctrl” and closing square bracket “]”, after that type “quit” and press enter.

You need to replace HOSTNAME with the hostname/website that you are having issues with. The PORT needs to be replaced with a port number depending on the service you are going to test:
Port 21 – used for FTP;
Port 25 and port 587 – are used for SMTP, SMTP+TLS, and SMTP+SSL;
Port 80 – used for HTTP;
Port 443 – used for HTTPS;
Port 110 – used for POP3 and POP3+TLS;
Port 143 – used for IMAP and IMAP+TLS;
Port 993 – used for IMAP+SSL;
Port 995 – used for POP3+SSL;
Port 2222 – used for SSH.

So for example if you experience problems with HTTPS access on a domain named yourdomain.com, you need to execute the following command:
telnet yourdomain.com 443

For some Windows versions you need to explicitly enable Telnet, you can find out how to do this using the official tutorial from the Microsoft Wiki -> http://social.technet.microsoft.com/wiki/contents/articles/910.windows-7-enabling-telnet-client.aspx)

If you connect successfully you should receive either a blank screen or a server response stating the name of the service.

If you cannot connect to our servers, you should receive an error like this:
telnet: could not resolve HOSTNAME/PORT: Name or service not known
In the latter case, please try using Telnet for another port on our servers as this will help you to determine whether our firewall is blocking your IP address or the problem lies elsewhere. If you cannot connect through another port, please open a Trouble Ticket concerning the problem from your Hosting Control Panel -> Support -> Support Center -> Trouble Tickets, so our Support team can investigate the issue and check if we are blocking your IP address for some reason. If you can connect through another port, this means we are not blocking your IP address and something is restricting the connection. A few things that could be blocking the connection are – the firewall of your local computer, the anti-virus software of your local computer, the local router, and your ISP.

Was this post helpful?

i

Relevant tags:

Connect

Latest posts:

How to Install MediaWiki

You can quickly install MediaWiki on any of the AwardSpace web hosting plans. This includes our free web hosting, shared hosting, as well as advanced services such as semi-dedicated hosting and VPS hosting. You can install MediaWiki in a matter of minutes, whichever...

How to Install an Elgg Theme

After you have installed Elgg core and logged in to the admin dashboard, you can search for themes that can help you customize your new website. Elgg themes are a set of files that help you customize the appearance of your website. Via themes, you can modify website...

How to Log in to Elgg

After you install Elgg, it is time to log in to the CMS, so you can start working on your Elgg website. To log in, you should load the Elgg login page and type in your credentials to access the platform’s admin dashboard. In the following paragraphs, we share how to...

How to Install Elgg

You can quickly install Elgg with any of the AwardSpace web hosting plans. You can use our free web hosting, shared web hosting, or advanced hosting plans such as semi-dedicated hosting and VPS hosting.   How to Install Elgg To install Elgg, you should first sign...

How to Change the PHP Timezone

Setting the correct timezone in PHP is crucial for ensuring that date and time functions in your scripts operate accurately. AwardSpace offers a range of hosting plans that provide easy management of PHP settings, including timezone configuration. This article will...



Create a website for free!


Free forever

Our Support Team is Here to Help

 

If you need any questions answered, don't hesitate and contact us. Click the button below and follow the instructions. You can expect an answer within an hour.

 

Contact AwardSpace

 

iNewest knowledge base articles

How to Install MediaWiki

You can quickly install MediaWiki on any of the AwardSpace web hosting plans. This includes our free web hosting, shared hosting, as well as advanced services such as semi-dedicated hosting and VPS hosting. You can install MediaWiki in a matter of minutes, whichever...

How to Install an Elgg Theme

After you have installed Elgg core and logged in to the admin dashboard, you can search for themes that can help you customize your new website. Elgg themes are a set of files that help you customize the appearance of your website. Via themes, you can modify website...

How to Log in to Elgg

After you install Elgg, it is time to log in to the CMS, so you can start working on your Elgg website. To log in, you should load the Elgg login page and type in your credentials to access the platform’s admin dashboard. In the following paragraphs, we share how to...

How to Install Elgg

You can quickly install Elgg with any of the AwardSpace web hosting plans. You can use our free web hosting, shared web hosting, or advanced hosting plans such as semi-dedicated hosting and VPS hosting.   How to Install Elgg To install Elgg, you should first sign...

How to Change the PHP Timezone

Setting the correct timezone in PHP is crucial for ensuring that date and time functions in your scripts operate accurately. AwardSpace offers a range of hosting plans that provide easy management of PHP settings, including timezone configuration. This article will...

How to Disable PHP Error Messages

When running a PHP-based website in a production environment, it's crucial to disable PHP error messages to prevent sensitive information from being exposed to users. AwardSpace offers a variety of hosting plans tailored to different needs, all of which support...

Even more web tutorials

Check out our web hosting knowledge base and the WordPress tutorials to learn more, and be better prepared for your website creation and maintenance journey.