A few months ago I created a Fedora 25 droplet and changed my SSH port. Obviously, I had to allow it through selinux and firewalld.
This is the command I ran as root:
semanage port -a -t ssh_port_t -p tcp [nonstandar...
Finally found a fix by restoring all the contexts: