繁体   English   中英

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

[英]centos 7 open port is open but not working

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/检查端口检查端口已关闭

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM