CrazyEngineers
  • how to use Telnet

    Manish Goyal

    Manish Goyal

    @manish-r2Hoep
    Updated: Oct 22, 2024
    Views: 741
    hey guys
    can any one help me learning about telnet...
    i want to learn it...
    can anyone help me how to use it...with some working commands....??????
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Mahesh Dahale

    MemberSep 26, 2009

    Most common ports to which one can connect to through telnet are:
    Port 21 - File Transfer Protocol
    Port 22 - SSH Remote Login Protocol
    Port 23 - Telnet Server
    Port 25 - Simple Mail Transfer Protocol (SMTP)
    Port 53 - Domain Name Server (DNS)
    Port 69 - Trivial File Transfer Protocol (TFTP)
    Port 70 - Gopher
    Port 80 - Hyper Text Transfer Protocol (HTTP)
    Port 110 - Post Office Protocol 3 (POP3)
    Telnet client and server functionality comes built-in in most operating systems.
    On windows machines, telnet client can simply be started by issuing the telnet command in windows command shell. The following example would help you connect to a remote machine on the HTTP Port 80 and issue a GET command which would fetch a file as your web browser does it behind scenes:

    Command Prompt> Telnet
    Command Prompt> open (somedomain.com or ip address) 80
    you can connect to any machine that has certain ports open. Once connected to a machine, you need to issue unix based commands to interact with the remote service.
    #-Link-Snipped-#
    Are you sure? This action cannot be undone.
    Cancel
  • durga ch

    MemberSep 26, 2009

    .. or
    cmd prompt
    >telnet <ip> 23

    23 being the port.
    Are you sure? This action cannot be undone.
    Cancel
  • Manish Goyal

    MemberSep 26, 2009

    thanks to all
    but when i use this command
    Command Prompt> Telnet
    Command Prompt> open ip 21
    it says connection failed...
    is there any neccessity to have ftp server on remote computer
    Are you sure? This action cannot be undone.
    Cancel
  • Anil Jain

    MemberSep 27, 2009

    If you want to telnet to system 'A' from system 'B', then Telnet service on both the system should be up and running. to start the Telnet service:

    Windows + R "Services.msc"
    Start Telnet service

    -CB
    Are you sure? This action cannot be undone.
    Cancel
  • vik001ind

    MemberSep 27, 2009

    In Windows Vista & windows7 telnet is disabled by default because of its security issues (passes messages in plain text, easy to sniff passwords & credentials, so its obsolete now).
    In order to enable go to control panel
    > Programs
    > Pragrams & Features
    > click on 'Turn Windows Feature on or off' on the left panel
    > new window appears, tick check boxes telnet server or telnet client or both as per your need.
    > click ok
    > open cmd & start telneting to another telnet enabled computers (for command
    queries type telnet /? in cmd)


    In linux, you have to edit file /etc/xinetd.conf & a telnet configuration file in /etc/xinetd.d/ directory. For further information google it.

    As per your problem telnet should be enabled on port 21 on the remote host which is not common nowadays unless you configure it on your own.
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register