[root@docker etcd-v2.2.4-linux-amd64]# firewall-cmd --list-all
public (default, active)
interfaces: eno16777736 eno33554960
sources:
services: dhcpv6-client ssh
ports: 3306/tcp 80/tcp 40000/tcp 8080/tcp
masquerade: no
forward-ports:
icmp-blocks:
rich rules:
[root@docker etcd-v2.2.4-linux-amd64]# firewall-cmd --add-port=2379/tcp
success
[root@docker etcd-v2.2.4-linux-amd64]# firewall-cmd --add-port=2380/tcp
success
[root@docker etcd-v2.2.4-linux-amd64]# firewall-cmd --list-all
public (default, active)
interfaces: eno16777736 eno33554960
sources:
services: dhcpv6-client ssh
ports: 2379/tcp 80/tcp 2380/tcp 8080/tcp 3306/tcp 40000/tcp
masquerade: no
forward-ports:
icmp-blocks:
rich rules:
[root@docker etcd-v2.2.4-linux-amd64]#
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。