I am trying to do a headless install of ubuntu 20.04 on my raspberry pi 4, however when I try to connect to the Pi via SSH I get the error message "Connection refused". I have tried copying over a blank ssh file into the boot media but that did not help.
OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5 debug1: Connecting to 192.168.50.72 [192.168.50.72] port 22. debug1: connect to address 192.168.50.72 port 22: Connection refused ssh: connect to host 192.168.50.72 port 22: Connection refused