Questions tagged [telnet]

A Unix command-line utility that facilitates simple two-way communications between a user and a server application listening on the specified port.

Filter by
Sorted by
Tagged with
0 votes
1 answer
47 views

Ubuntu cannot reconnect to Port using Telnet after a network disconnect

I have a server running ubuntu 18.04 and we use a clients data through a specified IP/host. to test the connection we use the telnet command. I was able to connect to this with no issues. upon ...
user avatar
  • 1
0 votes
1 answer
27 views

Setting up unsecure telnet [duplicate]

I want to demonstrate serial communications in a class. Is it possible/how to set up a good old port 23 unencrypted console service in Ubuntu?
user avatar
2 votes
0 answers
147 views

agetty / tty / telnet settings help

I am trying to set up a ubuntu 20.04 LTS install that allows telnet connections at 300bps - basically some very old hardware is connecting from across the web - assume Bell103 (pre-hayes) (this ...
user avatar
0 votes
0 answers
32 views

unable to telnet 139 port after changing IP on ubuntu 18.04

I am using ubuntu 18.04, now we are changed new ip series in this system and windows server also, then after unable to telnet 139, they show connection refuse. When we set old ip it's working fine. ...
user avatar
  • 1
0 votes
0 answers
84 views

postfix error connection

my postfix not connect in the lan just localhost and local ip address: In the postfix server: :/etc/postfix$ telnet 172.28.204.36 25 Trying 172.28.204.36... Connected to 172.28.204.36. Escape ...
user avatar
0 votes
2 answers
2k views

Why I cannot connect to MongoDB from outside while I have set its IP to 0.0.0.0 with no firewall?

First netstat -nltp output displays: tcp 0 0 0.0.0.0:27017 0.0.0.0:* LISTEN 1235/mongod So it seems that MongoDB is running on port 27017 and accept ...
user avatar
  • 993
1 vote
1 answer
108 views

Ubuntu 19.10 network problem with public IP - connects but cannot send anything (SYN_RECV) [closed]

I'm a linux newbie trying to setup a public IP address on ubuntu 19.10. My netplan file looks like this: # Let NetworkManager manage all devices on this system network: version: 2 renderer: ...
user avatar
1 vote
0 answers
67 views

Restrict telnet access on Ubuntu 16.04.7 LTS using username/password

I have telnet (without creds) enabled on multiple ports on my ubuntu due to an application running on it. Can you guide me on how to add a username/password for multiple ports listening for telnet .
user avatar
-1 votes
1 answer
111 views

Is there any way to resctict telnet to communicate with C++ TCP server [closed]

I have a TCP server developed in C++. Currently, it's allowing all connections in the XML bytes length protocol. Due to some security reasons, is there any way to restrict access from the client using ...
user avatar
5 votes
3 answers
3k views

Ubuntu 20.04 C-Kermit 9.0.302

C-Kermit is, to this day, unavailable for apt installation for Ubuntu 20.04. I got the tar from columbia.edu, tried to compile but failed.
user avatar
0 votes
0 answers
448 views

How to remotely restart sshd?

When I try to connect to the ubuntu server, I get timeouts, ssh_exchange_identification: read: Connection reset by peer. Most of the answers suggest a reboot, but I'm unable to physically reboot it ...
user avatar
  • 121
0 votes
0 answers
2k views

MSSQL Linux Problems, port 1433 status opened from ufw, but still cannot remote or even telnet

I have problem with MSSQL in Linux, and i'm installing it on Ubuntu 18.04 linux, im already open port 1433 and 1434 via ufw but still have no luck with remote connection and even from telnet, here my ...
user avatar
0 votes
1 answer
152 views

telnet on 16.04

I've got a system running xenial and I need to verify if particular ports are open for 127.0.0.1 so I decided to install telnet to simply try to connect on that particular port. I've tried the ...
user avatar
  • 1,030
0 votes
1 answer
590 views

Not able to open port between windows 10 and locally hosted Ubuntu VM created on Hyper-v

This started when I was trying to use docker swarm join from the ubuntu vm (created using hyper-v) to my windows 10 docker engine. I am using the default port 2377. I keep getting connection refused ...
user avatar
0 votes
2 answers
11k views

How to use telnet client in Ubuntu 18.04 terminal?

I read book about programming and networks.. Found this example: As written in this book, after last <Enter> we must receive page raw HTML code.. I upload small script to my host to minimize ...
user avatar
  • 3,579
0 votes
1 answer
3k views

shell script test a telnet connection

I'm Trying to make a scipt that checks if my own specific port is open and can be connected. I tried doing it by netcat by nc -vz localhost 25565 but this only tells me if the port is open. I need ...
user avatar
  • 39
1 vote
0 answers
2k views

Can't telnet from my Ubuntu server 18.04.1 to specific routers using the telnet port (23)

I don't want to go far in to details, because I know you should not use telnet but ssh instead, however in my situation I need to use telnet. Basically, I have a Ubuntu server 18.04.1 and I have a ...
user avatar
0 votes
1 answer
4k views

Echo output of telnet command via bash

I would like to initiate a telnet session, send a command, and store the output in a variable using bash. To do this manually, I do: telnet ip port >command1 However, I'm not sure how to script ...
user avatar
  • 5,693
0 votes
1 answer
2k views

telnet file not found in etc/xinetd.d

$apt-get install -y telnetd $apt-get install -y xinetd $ls /etc/xinetd.d telnet is not found Kindly help.
user avatar
3 votes
2 answers
21k views

How to enable telnet server

I followed these instructions but when doing telnet localhost or telnet localhost 23, getting unable to connect to remote host: connection refused. I also shut down firewall: sudo ufw disable. When ...
user avatar
  • 231
1 vote
1 answer
819 views

Can't access from domain locally

I have a Nextcloud Server on my Ubuntu 18.04 system with ddclient installed. I can access my server from my domain on a different device on the same network but can't access my server from my domain ...
user avatar
1 vote
0 answers
1k views

unable to telnet the ubuntu from windows host

i have ubuntu 16.4 as Host with IP 192.168.56.1 and Windows 7 as guest inside Virtualbox have IP 192.168.5.101 and the adapter mode is host-only , the host and guest can contact each other on Ping ...
user avatar
  • 11
-3 votes
1 answer
2k views

Configuring telnet on my new Ubuntu VM [closed]

I want to configure telnet for my fresh Ubuntu VM. Can you please provide the necessary steps? I'm also looking for steps to configure ssh in a Ubuntu system and how it can be connected from a client ...
user avatar
-1 votes
1 answer
81 views

Question about using the Telnet. [closed]

How can I enable the Telnet service on Ubuntu 16.04 LTS? Can somebody include a detailed description about the needed packages and configurations and use it and what are it's advantages?
user avatar
1 vote
0 answers
192 views

Cannot access Ambari UI

I installed Ambari server and agent on the same instance just to make tests. The problem is that I cannot access Ambari UI on port 8080. I tried running telnet 172.xx.xx.xx 8080, but there is no ...
user avatar
  • 111
0 votes
1 answer
497 views

Open a port in ubuntu 17.10 for dosbox

I am trying to open a port in Ubuntu 17.10, but first some background. For the last 16 hours I've been working on getting a BBS mailer set up under dosbox. In my dosbox conf, I have set up "serial1=...
user avatar
  • 121
20 votes
3 answers
22k views

How can I quit when connected via telnet?

I have a telnet connection through askubuntu.com 80 while trying to test cli based webbrowsing for github project. I got my connection established over port 80 but now I cannot do anything, even quit. ...
user avatar
  • 351
0 votes
2 answers
3k views

Unable to enable IPv6 for telnet server

I am trying to enable IPv6 on the telnet server running on Ubuntu 16.04, but I cannot. My configuration files look like the following. /etc/xinetd.d/telnet service telnet { disable =...
user avatar
  • 101
-1 votes
1 answer
1k views

Telnet localhost access for root user

I have installed telnet in my Ubuntu 14.04 PC. I am able to telnet a remote machine in same network. But I cannot telnet to my PC with root user which is local host. How can I solve the issue?
user avatar
  • 7
1 vote
1 answer
7k views

smtp error 421 4.4.2 Error: timeout exceeded after few minutes and some bytes received - Ubuntu 16.04

I get the following error while trying to send the email using telnet from the client xxxx-01 with the mail body exceeding certain amount of text. The same length of the body works fine on the ...
user avatar
  • 31
4 votes
1 answer
5k views

Can telnet to localhost but cannot telnet to my LAN IP

I am using Ubuntu 14.04 LTS. I config my /etc/network/interfaces like this: auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.5.201 gateway 192.168.5.1 netmask 255.255....
user avatar
  • 277
3 votes
2 answers
51k views

telnet: Unable to connect to remote host: Connection refused

I am inside docker and I have installed zookeeper and trying to test it using telnet But it is not working $ telnet localhost 2181 Trying ::1... Trying 127.0.0.1... telnet: Unable to connect to ...
user avatar
  • 233
1 vote
1 answer
482 views

Telnet with Arduino & WiFi shield: connection refused

I've equipped an Arduino Due with a WiFi shield and want to run a Telnet server on the Arduino. I've found here how to: https://www.arduino.cc/en/Tutorial/WiFiChatServer I copied the whole code and ...
user avatar
  • 73
47 votes
3 answers
186k views

How to install a telnet client?

How can we install a telnet client in Ubuntu 16.04? With this command, we can install a telnet server: sudo apt-get install xinetd telnetd But can a telnet client be installed without a telnet ...
user avatar
  • 573
0 votes
1 answer
2k views

Connection refused when Host OS(Ubuntu) telnet the Guest OS(Windows XP) of the Virtualbox

I can't telnet the Guest OS(Windows xp) in my ubuntu machine but I can successfully ping its IP address. In the network settings of guest os, I enabled two adapters. Here are the the settings of the ...
user avatar
2 votes
2 answers
5k views

how to calculate script run time [duplicate]

Consider this shell redirect: telnet towel.blinkenlights.nl >> starWarz when it ends, the session will break, detach from host or something like that. I want to know how long the connection ...
user avatar
  • 14k
1 vote
1 answer
706 views

telnetd: getpty: No such file or directory

root@hj-ibmibm1677:~# telnet localhost Trying ::1... Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. telnetd: getpty: No such file or directory . Connection closed by foreign ...
user avatar
  • 11
0 votes
1 answer
989 views

why command telnet responds strange? [closed]

i pass network course university 4 years before,i have a question that is possible amateur ,please help me.. i have ubuntu on vmware.i use this command: telnet google.com 80 it responds: Trying ...
user avatar
0 votes
2 answers
4k views

cannot telnet into ubuntu from windows 7

I have a php server running on port 4444 on my Ubuntu 15.04 machine. Now when I execute telnet 127.0.0.1 4444 it works fine. Now I have connected my machine and a windows 7 machine using mobile ...
user avatar
1 vote
1 answer
299 views

TCP or Telnet server for Ubuntu

I can use telnet to connect to a telnet server simply by typing: 'telnet localhost', whereas localhost can be replaced with any desired IP-Address. But now I want to do something different and I have ...
user avatar
  • 1,839
1 vote
0 answers
67 views

Can I send ascii input through a dualshock 3

is it possible to send ascii input to a computer through a dualshock 3? I'm trying to play a telnet game called mtrek through a terminal with a controller.
user avatar
0 votes
1 answer
6k views

Telnet is not working in ubuntu 14.04

I'm new to Ubuntu and want to install Telnet and then enable it. I tried following commands- sudo apt-get install xinetd sudo apt-get install telnetd Both were installed ,and I checked that which ...
user avatar
  • 101
11 votes
2 answers
165k views

How can the Telnet service on Ubuntu Server 14.04 LTS be enabled?

How can I enable the Telnet service on Ubuntu Server 14.04 LTS? Can somebody include a detailed description about the needed packages and configurations?
user avatar
0 votes
1 answer
1k views

Can you create an executable telnet application on the desktop?

I am trying to create a telnet shortcut. I cant seem to find a way to do this. Any ideas?
user avatar
  • 15
0 votes
1 answer
256 views

telnet to zimbra 110 port failed from ubuntu 12.04

We are using Thunderbird on Ubuntu 12.04, Windowx XP and Windows 7. Telnet to 25 port done successful from both Windows and Ubuntu clients. When we telnet to mail server port 110 from any Windows ...
user avatar
2 votes
1 answer
2k views

Cannot access Windows 7 machine from Ubuntu 14.04 via Telnet

I have a machine running Windows 7 and I want to connect to it from Ubuntu. Until now it was working just fine. But now, when I try to connect to Windows 7 from Ubuntu, I get this: telnet: Unable ...
user avatar
1 vote
1 answer
1k views

Telnet after update to 15.04 not working

I updated to 15.04 using the server command sudo do-release-upgrade. Since the upgrade was complete and after a reboot, I am unable to telnet to the server. Port 23 is not listened while the telnetd,...
user avatar
2 votes
1 answer
616 views

During system restart telnet service isn't start automatically

Each time i restart the system i need to login through SSH & then restart the telnet service manually. Any idea how to get rid of this? System Info: Ubuntu 15.04 (GNU/Linux 3.16.0-36-generic ...
user avatar
21 votes
3 answers
130k views

How to start X application from SSH [duplicate]

I've tried to search this topic in google, but without any significant results. I need to start some GUI app from terminal, but I don't care what this app is showing me. In addition, I need to start ...
user avatar
0 votes
1 answer
3k views

Execute command on remote machine using telnet in one line

I need to write a script to monitor wlan0 interface of my remote machine. I can do this by executing iwconfig wlan0 repeatedly on remote machine. But how to login to that machine and execute this ...
user avatar
  • 297