Home >System Tutorial >LINUX >CentOS Interpretation: Find/Scan the printer IP in the LAN
Suppose there is a network printer at 192.168.10.*, but we don't know its address. A stupid way is to enter 192.168.10.1 to 192.168.10.254 in the browser and see if the management page appears.
Another idea is to use command scanning. The default port number for network printers is 9100. Just find the host that has this port opened.
First make sure you have the namp tool, if not please install it.
Then enter the following command:
nmap -p 9100 --open 192.168.10.1/24
Output similar to:
Nmap scan report for 192.168.10.xxx
Host is up...
PORT STATE SERVICE
9100/tcp open jetdirect
Then 192.168.10.xxx may be the printer
The above is the detailed content of CentOS Interpretation: Find/Scan the printer IP in the LAN. For more information, please follow other related articles on the PHP Chinese website!