ubuntu中关闭防火墙

在跑puppet的时候出现了这个问题

root@ubuntu:/var/lib/puppet# puppet agent -tv
err: Could not retrieve catalog from remote server: Connection refused - connect(2)
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run

 

一查资料原来是防火墙的问题 果断关之

root@stgman-desktop:~# sudo ufw disable
防火墙在系统启动时自动禁用

posted @ 2013-05-08 20:05  SA高处不胜寒  阅读(1868)  评论(0编辑  收藏  举报