CentOS 7开放端口开放但不起作用
centos 7开放端口开放,但不起作用
t尝试在我的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 端口已关闭
centos 7 open port is open but not working
t try to open port on my vps centos 7 like 5060
this port is just number i need it open in my system
i open it in iptables and 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:
now on i check port using https://portchecker.co/check the port is closed
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在某些国家,港口5060被ISP阻止
我了解您在虚拟机中打开了端口。
您还需要在VPS主机面板安全组中打开端口。
In some countries port 5060 is blocked by ISP
what i understand you opened the port in your virtual machine.
you need to open the port in VPS host panel security group as well.