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
0 answers
79 views

Telnet not working on Ubuntu 20.04

I want Ubuntu to be telent server, for which I installed telnetd: ngadre@in01-7h4wrf3:~/Documents/release6.6.1/caos$ sudo apt install telnetd -y [sudo] password for ngadre: Reading package lists... ...
RootPhoenix's user avatar
0 votes
1 answer
499 views

Can't connect to remote MySQL (v. 8.0.33 | ubuntu 22.04.2)

On the server with the operating system ubuntu 22.04.2 installed MySQL version 8.0.33 with the following configuration: /etc/mysql/mysql.conf.d/mysqld.cnf # # The MySQL database server configuration ...
Riven's user avatar
  • 1
0 votes
1 answer
80 views

how to setup telnet server machine on ubuntu 20.04

I m not able to find any appropriate document to setup telnet configuration on ubuntu 20.04 machine. Please share any resources.
Vipul Gupta's user avatar
0 votes
1 answer
51 views

ssh, telnet, apache and shellinabox servers blocked

I've been operating a "BBS-style" system on a Windows 11 computer for the last few years. Access came courtesy of WSL ssh, telnet, shellinabox and (for the web page) apache2. All was well ...
Mark Peterson's user avatar
1 vote
1 answer
205 views

UFW - Default Deny Incoming does not block telnet

I have an Ubuntu 22.04 LTS Server setup on a VM. I have ufw enabled with default deny incoming policy The result of sudo ufw status verbose is: Status: active Logging: on (low) Default: deny (incoming)...
Madhur Bhaiya's user avatar
0 votes
0 answers
111 views

telnet to a port with external interface works locally but does not work from remote server

I am trying to connect a port [31319]. I am running a node port of a Kubernetes service. I am able to do telnet to this port with an external interface from locally but the same does not work from a ...
Tapan's user avatar
  • 1
0 votes
1 answer
342 views

Firefox telnet not working

I am using Firefox to access eve-ng server. Basically, each node is exposed as a telnet link such as the following: telnet://192.168.1.168:36323 I have made sure that I have enabled the following in ...
frank's user avatar
  • 1
1 vote
0 answers
821 views

SSH and Telnet timing out. Ubuntu 22.04 lts

This is my first post on stackexchange and I am a Linux newbie, so if I misconduct anyhow, let me know. Every time I try to ssh (or telnet) into anything that isn't localhost I cannot connect due to ...
klnstprx's user avatar
0 votes
0 answers
441 views

API for Telnet Client in C++

My apologies if this is not the right place to ask my question. I am communicating with a telnet server on my local network. Please note that, the communication is working fine using the telnet ...
ravi's user avatar
  • 233
0 votes
1 answer
101 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 ...
Ken's user avatar
  • 1
0 votes
1 answer
67 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?
Old Geezer's user avatar
2 votes
0 answers
239 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 ...
Jesse Lafleur's user avatar
0 votes
0 answers
71 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. ...
Deepak's user avatar
  • 1
0 votes
0 answers
181 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 ...
Hernandez Mike's user avatar
0 votes
2 answers
3k 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 ...
Alireza's user avatar
  • 1,253
1 vote
1 answer
216 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: ...
Michał Suliga's user avatar
1 vote
0 answers
108 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 .
flying dutch's user avatar
-1 votes
1 answer
126 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 ...
shubgpt's user avatar
6 votes
4 answers
4k 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.
Giorgos Saridakis's user avatar
0 votes
0 answers
570 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 ...
RinW's user avatar
  • 121
1 vote
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 ...
Edukrasi's user avatar
0 votes
1 answer
201 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 ...
stdcerr's user avatar
  • 1,050
0 votes
1 answer
720 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 ...
A Khudairy's user avatar
0 votes
2 answers
14k 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 ...
slava's user avatar
  • 3,787
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 ...
arthur's 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 ...
alzagars's user avatar
0 votes
1 answer
5k 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 ...
hiigaran's user avatar
  • 6,293
0 votes
1 answer
3k 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.
King Satan's user avatar
3 votes
2 answers
23k 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 ...
grunt's user avatar
  • 251
1 vote
1 answer
910 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 ...
Donny Jenkins's 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 ...
elyas's 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 ...
user827466's user avatar
-1 votes
1 answer
96 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?
Muhammad Sualeh's user avatar
1 vote
0 answers
201 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 ...
ScalaBoy's user avatar
  • 111
0 votes
1 answer
527 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=...
James's user avatar
  • 121
20 votes
3 answers
27k 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. ...
melic's user avatar
  • 371
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 =...
dan's user avatar
  • 101
-1 votes
1 answer
2k 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?
Arut's user avatar
  • 7
1 vote
1 answer
8k 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 ...
DevM's user avatar
  • 31
4 votes
1 answer
6k 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....
Andiana's user avatar
  • 287
3 votes
2 answers
56k 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 ...
Avinash's user avatar
  • 233
1 vote
1 answer
494 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 ...
flap's user avatar
  • 73
60 votes
3 answers
233k 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 ...
m-tech's user avatar
  • 703
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 ...
Michael's 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 ...
j0h's user avatar
  • 14.6k
1 vote
1 answer
775 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 ...
pia's user avatar
  • 11
0 votes
1 answer
1k 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 ...
stackprogramer's 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 ...
Makarov's user avatar
1 vote
1 answer
318 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 ...
eDeviser's user avatar
  • 2,009
1 vote
0 answers
71 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