How did I solve «channel» / «open failed: connect failed: Connection refused» on opening an SSH tunnel from Windows 7 to Ubuntu 18.04?

I have solved it by rebooting Windows.