曾彪彪的个人网站
首页
文章列表
>>
文章详情
Some ports is not accessible after Docker installed
作者:
曾彪彪
日期:
2020-03-23 05:03:00
阅读(223)
分类:
运维&部署
We exposed two ports 80 and 8500 on our Linux server. After Docker was installed, the original port is not accessible. Here is the steps what we did. 1. Check firewall service, it's not running. 2. Check all open ports. ```shell firewall-cmd --list-all ``` the target port 80 and 8500 was not listed. 3. Add target port and reload firewall. ```shell firewall-cmd --zone=public --add-port=8500/tcp --permanent firewall-cmd --zone=public --add-port=80/tcp --permanent firewall-cmd --reload ```
评论(0)
评论(必填)
名称(必填)
联系方式(可选)
验证码(必填)
提交
评论(必填)
名称(必填)
联系方式(可选)
验证码(必填)