Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Server CentOS installs nmap Port View tool

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Let's show you how to view the host port in CentOS using nmap: server

First, install nmap

Yum install nmap # enter y to install

Second, use nmap

Nmap localhost # View the currently open ports of the host

Nmap-p 1024-65535 localhost # View open ports in host ports (1024-65535)

Nmap-PS 192.168.21.163 # probe the open port of the target host

Nmap-PS22,80,3306 192.168.21.163 # probe the target host port listed

Nmap-O 192.168.21.163 # probe the operating system type of the target host

Nmap-A 192.168.21.163 # probe the operating system type of the target host

Nmap-- help # Please check help for more nmap parameters

Close or open the host port

1. Nmap localhost # View the current open port of the host

2. Ntsysv # Open the system server manager (you need to install yum install ntsysv first), and select the service to turn off or turn on

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report