sudo apt-get remove --purge openssh-server
sudo apt-get install openssh-server
# Change Port from 22 to 2222
# Change ListenAddres to 0.0.0.0 if necessary
sudo vi /etc/ssh/sshd_config
sudo service ssh --full-restart

Just in case MS-Windows is using port 22; which, by the way, SSH on MS-Windows can be disabled if you want to use port 22

Ref: How can I SSH into “Bash on Ubuntu on Windows 10”?