Re: [opensuse] connection refused on telnet command
On 23/09/2018 21.28, don fisher wrote:
On 9/23/18 5:47 PM, Carlos E. R. wrote:
On 23/09/2018 19.01, don fisher wrote:
I have disabled the firewall of opensuse 42.3. I am trying to set up my machines so that I can use netconsole to log messages that would normally be sent to the serial port on boot failure. I cannot get telnet to send a message to the host it is on.
nc -l -u 23 | tee ~/netconsole.log is the command listening telnet dfpcxx is telnet command entered. I receive: telnet: connect to address 192.168.7.xx: Connection refused
Could you show separately the command you do on each computer, complete with command prompt, options, results? I fail to understand what you are doing, sorry.
I included that in the first email, I think. I am trying to telnet to myself on the same computer. The receiving command is:
nc -l -u 23 | tee ~/netconsole.log
and the transmitting command, sent form the same computer, is:
telnet dfpcxx
The message, from somewhere, is:
Connection refused
All of the above was in the first email. What is missing?
So, in one terminal you do: cer@Legolas:~> nc -l -u 23 | tee ~/netconsole.log nc: Permission denied cer@Legolas:~> So I repeat as root: Legolas:~ # nc -l -u 23 | tee ~/netconsole.log and in another terminal I do: cer@Legolas:~> telnet dfpcxx telnet: dfpcxx: Name or service not known cer@Legolas:~> telnet localhost Trying ::1... telnet: connect to address ::1: Connection refused Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused cer@Legolas:~> As you can see, a lot of info is missing to allow me to reproduce the situation, and I had to make assumptions... I have a guess at what is happening, but first I want to know if what I assumed is correct. -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.0 (Legolas))
participants (1)
-
Carlos E. R.