Use this command to open a Telnet connection to a server using an IPv4 or IPv6 address or fully qualified domain name (FQDN). This command can be useful for troubleshooting. For example, when the server does not support the HTTP versions, methods, headers, and so on, that the client uses.
|Telnet connections are not secure. Eavesdroppers could easily obtain your administrator password. Only use Telnet over a trusted, physically secured network, such as a direct connection between your computer and the appliance, and from the appliance to the server.|
To use this command, your administrator account’s access control profile must have at least
r permission to the
sysgrp area. For details, see Permissions.
|Enter the IP address or fully qualified domain name (FQDN) of the host.||No default.|
This example Telnets to a host with the IPv4 address
192.0.2.10 on port 80, the IANA standard port for HTTP.
FortiWeb# exec telnettest 192.0.2.10:80
Entering interactive mode. Type CTRL-D to exit.
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<title>501 Method Not Implemented</title>
<h1>Method Not Implemented</h1>
<p>Get to /index.html not supported.<br />
<address>Apache/2.2.22 (Unix) DAV/2 mod_ssl/2.2.22 OpenSSL/0.9.8x Server at irene.local Port 80</address>
Connection status to 192.0.2.10 port 80:
Connecting to remote host succeeded.