centos 7 open端口已打开但不工作

j2cgzkjk  于 2022-11-07  发布在  其他
关注(0)|答案(1)|浏览(138)

centos 7开放端口已打开,但无法正常工作

不要试图打开端口上我的vps centos 7喜欢5060
这个端口只是数字我需要它在我的系统中打开
我在iptables和firewall-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检查端口时,该端口已关闭

niknxzdl

niknxzdl1#

在一些国家端口5060被ISP阻止,据我所知,你在虚拟机中打开了该端口。你还需要在VPS主机面板安全组中打开该端口。

相关问题