port 22: Connection refused.

Show the world your Revolution Pi project!
Post Reply
joris@hd-electro.nl
Posts: 3
Joined: 12 Jun 2023, 12:13
Answers: 0

port 22: Connection refused.

Post 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?
User avatar
dirk
KUNBUS
Posts: 1948
Joined: 15 Dec 2016, 13:19
Answers: 4

Re: port 22: Connection refused.

Post 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?
User avatar
dirk
KUNBUS
Posts: 1948
Joined: 15 Dec 2016, 13:19
Answers: 4

Re: port 22: Connection refused.

Post 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
User avatar
dirk
KUNBUS
Posts: 1948
Joined: 15 Dec 2016, 13:19
Answers: 4

Re: port 22: Connection refused.

Post 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?
Post Reply