I am attempting to connect to my RPi 3B+ through SSH from a Mac terminal but am receiving a "Port 22: Connection Refused" error message when I type "ssh pi@my_ip".
I was previously able to connect successfully from a different location and wifi network. However, this problem started when I attempted to connect from somewhere else.
I reconfirmed that SSH is enabled in the Pi settings, that both my mac and the pi are connected to the same wifi network, and I also used ifconfig to get the new ip address and am using the new address instead of the old one in the same way I was doing before when it was working at my previous location. I read through this thread for the same error: https://www.raspberrypi.org/forums/view ... p?t=144839, but it does not appear that the suggestions here apply to my particular circumstance.
Does anyone have insights in reconnecting to the Pi through SSH after switching wifi networks and an ip address change? Not actually certain this is the reason I am encountering this issue but I'm uncertain as to what else it could be.