Question: how to check if a port is blocked centos?
Answer: Using netstat to see the listening processes. To see if a program or process is listening on a port, ready to accept a packet, use the netstat command. ... 
Using ss to see the listening processes. ... 
using lsof to find open ports.