I cannot SSH to my RPi because of this error. I am trying port 22 by default.
SSh is disabled by default on all new raspbian installs. To enable it you will either need to physically log in and enable it with
sudo raspi-config or insert your sd card into another computer and create a file called
ssh with no filename extension to enable it on the boot partition. Then make sure it's connected to WI-FI and try again.