The localhost connection is refused when the application inside WSL is not running, is listening only on a specific interface instead of all interfaces, or WSL’s localhost forwarding feature is not ...
If shutting off telnet access and insisting that all system-to-system connections use ssh isn’t enough to toughen your system’s hide, here’s another way to make your servers just a little more ...