-2

At work, we connected print-server to a printer via USB, to make a printer network-available.

Setting-up as network printer was successful, but at work, additionally we need to specify a port number.

Scanning using netstat lists hardware available in LAN, but it doesn't pick IP address of print-server, although I'm able to ping it.

Is it possible to scan for open port for a specific IP address, let's say xx.xx.xx.xx using netstat or any other tools?

enter image description here

2
  • 1
    What system at your work is requiring the port? Commented Apr 20, 2023 at 15:34
  • @music2myear Hi! In-house developed software requires port of a printer. It seems print-server that supports jetdirect has port 9100.
    – Askar
    Commented Apr 21, 2023 at 13:49

1 Answer 1

2

The program netstat is for displaying open and connected ports and sockets on local machine. To scan and get open ports on remote machine you can use nmap. The command is something like:

nmap <IP of print server>

But before this you can check these ports: 2501, 5001, 9100, 9101, 9102, and 9600 which are usually used from print server. If you want to scan for all ports (more than 1000 by default) you should use command:

nmap -p- <IP of print server>
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .