Page 1 of 1

port 22: Connection refused.

Posted: 27 Jun 2023, 10:17
by joris@hd-electro.nl
I have several RevPi Connect S and SE modules.
Port A is set to a fixed IP address.
If I do a sudo reboot it usually works fine.
Sometimes after a reboot the RevPi gives a message:
ssh: connect to host 172.16.20.10 port 22: Connection refused.
And can no longer access the RevPi via ssh and web interface.

If I then remove the power supply from the RevPi and let it restart, it works fine again.

I also have the old connect and they don't seem to be affected.

Any idea what this could be?

Re: port 22: Connection refused.

Posted: 27 Jun 2023, 16:28
by dirk
Hi can you provide a SOS report so that we can take a look at your setup?
Did you setup the fixed IP address using the way like Tutorial 07 – Static IP Adress?
Can you answer the questions from Basic Information Checklist?

Re: port 22: Connection refused.

Posted: 04 Jul 2023, 15:51
by dirk
Hi, thank you for the SOS report, it looks normal. Could it be that you have an ARP issue in your network, i.e. by multiple devices that have the same MAC address? For example if you have cloned your images on multiple devices?
If so, take a look at this helpful article https://kunbus-gmbh.atlassian.net/servi ... -635422377

Re: port 22: Connection refused.

Posted: 04 Jul 2023, 16:06
by dirk
So, I assume you try to connect from a host via the SSH protocol to your RevPi, correct? The "dhcpcd.conf" file which was included in the SOS-Report that you provided via E-Mail contains no such IP address '172.16.20.10' or network. Can you provide extra information on your network, i.e. a scratch?