Update FAQ.md

pull/72/head
StarsL.cn 2023-02-19 19:19:43 +08:00 committed by GitHub
parent 2ba4755821
commit f13ecee5ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -12,8 +12,9 @@ docker-compose logs --tail=50 -f nginx-consul
- 可以检查下iptables防火墙规则设置允许访问8500端口
```
# 参考命令
iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 8500 -j ACCEPT
firewall-cmd --zone=public --add-port=8500/tcp --permanent
iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 8500 -j ACCEPT
```
### 检查consul连接是否正常