ufw.exe is an easy command-line tool to allow opening or closing TCP/IP ports in the Windows firewall. ufw is a well-known Linux tool, default firewall configuration tool for Ubuntu. ufw requires elevated privilege (run as admin).
Examples
ufw allow 3050 ufw deny 3050