centos 7开放端口是开放的,但不工作
不要尝试像5060那样在我的vps centos 7上打开端口。
这个端口只是号码,我需要在我的系统中打开它。
我在iptables和防火墙-cmd中打开它。
2004h[root@centos ~]# sudo firewall-cmd --list-all
public (active)
target: default
icmp-block-inversion: no
interfaces: eth0 eth1
sources:
services: cockpit dhcpv6-client http https ssh telnet
ports: 5060/tcp 80/tcp 443/tcp
protocols:
forward: yes
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
现在我使用https://portchecker.co/check检查端口,端口关闭了
发布于 2022-07-05 10:38:42
在一些国家,端口5060被ISP阻塞,据我所知,您在虚拟机中打开了端口。您还需要在VPS主机面板安全组中打开端口。
https://stackoverflow.com/questions/72863082
复制相似问题