This is not a matter or luck.You must know what you are doing, which you don't, when you edit configuration files.
Dropbear doesn't has a configuration file, everything comes from the command line; sshd (from openssh) uses sshd_config; both are by default launched under inetd control, thus is inetd that is listening on the ports indirectly specified in the first column of its conf file; when you change inetd configuration file you must tell it about that (you can use 'rcinetd reload', or explicitly send the appropriate signal).
This is not and Alt-F idiosyncrasy, it's the normal linux behaviour.