dlxxv
Member
Posts: 3
Likes: 0
|
Post by dlxxv on Apr 26, 2022 20:43:44 GMT
So, I have used Linux off and on but not very much and I’ve never used telnet. However, I’m following a book that uses a compiler that for some reason uses a command that includes a tell connection on localhost. Ok fine, whatever, but I keep getting connection refused error. I did about three hours of troubleshooting last night and I can’t for the life of me figure out why all my Telnet connections are refused. I’ve changed the conf file to disabled = no, I’ve reset xinetd multiple times. I can’t remember what all I have done but a simple: telnet localhost 1234 or any port results in the same thing. Connection refused? I’m at a loss. Any ideas? Thanks. Kelvin
|
|
dlxxv
Member
Posts: 3
Likes: 0
|
Post by dlxxv on Apr 26, 2022 21:44:47 GMT
Ok, I think I got it figured out. First off all, my localhost IP address is 127.0.0.53 not 127.0.0.1 which is weird? Anyway, I had to manually open the port and listen and now telnet will connect using a other terminal window. Is there a way to make this always listen on certain ports?
|
|
dlxxv
Member
Posts: 3
Likes: 0
|
Post by dlxxv on Apr 26, 2022 21:52:37 GMT
Ok, I think I got it figured out. First off all, my localhost IP address is 127.0.0.53 not 127.0.0.1 which is weird? Anyway, I had to manually open the port and listen and now telnet will connect using a other terminal window. Is there a way to make this always listen on certain ports? Weird, I did an nmap check of the port and it is open but it is now saying localhost is 127.0.0.1. I dunno, these server protocols are not my thing. 🤷♂️
|
|
enigma9o7
Crew Member
Posts: 1,442
Likes: 1,339
|
Post by enigma9o7 on Apr 27, 2022 15:21:47 GMT
I dunno much about telnet, but my understanding is its deprecated and insecure and usually disabled on modern distro; the modern alternative is ssh.
|
|