win 常用操作

查看当前防火墙状态:netsh advfirewall show allprofiles
关闭防火墙:netsh advfirewall set allprofiles state off
开启防火墙:netsh advfirewall set allprofiles state on
添加删除规则
netsh advfirewall firewall add rule name="Open Port 1883" dir=in action=allow protocol=TCP localport=1883
netsh advfirewall firewall delete rule name=RDP dir=in action=allow protocol=tcp localport=3389
netsh firewall show config
远程桌面默认端口3389
win 安装telnet
使用win+R键打开运行程序,在输入框里输入:OptionalFeatures点击确定,图形化安装

posted @ 2024-10-21 19:26  刚好遇见Mysql  阅读(6)  评论(0编辑  收藏  举报