How to check the port in centos7 system

王林
Release: 2020-03-16 19:20:32
Original
7518 people have browsed it

How to check the port in centos7 system

View all open ports on the firewall

firewall-cmd --zone=public --list-ports
Copy after login

(Recommended tutorial: centos usage tutorial)

View the listening ports

netstat -lnpt
Copy after login

Check which process the port is occupied

netstat -lnpt |grep 5672
Copy after login

Related video tutorial sharing: linux video tutorial

The above is the detailed content of How to check the port in centos7 system. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template