lnmp用什么命令开启8080端口 在线等
由于域名封80端口 lnmp用什么命令开启8080端口啊 默认虚拟主机修改/usr/local/nginx/conf/nginx.conf/root/vhost.sh 添加的修改/usr/local/nginx/conf/vhost/域名.conf
里面listen后的80改成你要的 然后防火墙打开 8080
/sbin/iptables -I INPUT -p tcp --dport 8080 -j ACCEPT
/etc/rc.d/init.d/iptables save
/etc/init.d/iptables restart
页:
[1]