ITeye博客

linux 打开端口

greenmoon · 2012-09-16 16:13 · linux使用 · 开源软件 · Markdown

1、 sudo vim /etc/sysconfig/iptables

2、 -A INPUT -p tcp -m tcp --dport 8080 -j ACCEPT

3、 sudo service iptables restart

4、/etc/init.d/iptable status

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。