随笔分类 -  Linux

摘要:1 查看端口 netstat -anp port.txt 2 防火墙限制端口 查看防火墙策略: sudo iptables -L -n --line-number 关闭端口: sudo iptables -A INPUT -p tcp --dport 8888 -j DROP sudo iptabl 阅读全文
posted @ 2021-08-09 14:49 today3 阅读(891) 评论(0) 推荐(0)
摘要:问题: sudo systemctl restart mosquito Failed to restart mosquito.service: Unit mosquito.service not found. 解决: sudo systemctl restart mosquitto 敲少了1个t字啊 阅读全文
posted @ 2021-07-15 14:08 today3 阅读(481) 评论(0) 推荐(0)