简体   繁体   中英

centos 7 open port is open but not working

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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