Commonly used port commands in Linux

Restart the port: firewall-cmd --add-port=8066/tcp --permanent

Restart the firewall: firewall-cmd --reload

Query all open ports: netstat -lntup

Query the specified port: netstat -nap|grep 8080

Guess you like

Origin blog.csdn.net/m0_47578678/article/details/128797633