I have a Debian 9 VM server installed and I want to open port 139 & 445. How do I do that ? My firewall status is as follows:lsmod | grep ip_tablesip_tables              24576  1 iptable_filterx_tables               36864  3 ip_tables,iptable_filter,xt_tcpudpiptables -LChain INPUT (policy ACCEPT)target     prot opt source               destinationACCEPT     tcp  --  anywhere             anywhere             tcp ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:netbiosssnACCEPT     tcp  --  anywhere             anywhere             tcp dpt:microsofdsChain FORWARD (policy ACCEPT)target     prot opt source               destination         Chain OUTPUT (policy ACCEPT)target     prot opt source               destination I even tried this:iptables -A INPUT -p tcp -m tcp --dport 443 -j ACCEPTiptables -A INPUT -p tcp -m tcp --dport 139 -j ACCEPTbut still the port is closed.
could not open port 139 & 445 in Debian 9
linux;debian;iptables;firewall;tcp