Viewing the scanning queue under port 9524 or a custom port

To see which assets are currently being scanned by your Lansweeper installation and which are queued for scanning, you can access the following section of the web console: Scanning\Scanning Queue. If you have multiple scanning servers, there will be a separate tab/queue within this menu for each server. Though there may be a small delay in a scan initiating and that scan showing up in the queue, the aforementioned scanning queue is easy to access, refreshes automatically and includes a button for clearing scan requests. This makes it the most user-friendly way of viewing and managing scans.

However, in older Lansweeper releases, another scanning queue was also available under port 9524 (or a custom port) of each scanning server. While this queue does not refresh automatically and does not have a button for clearing scan requests, it is slightly more accurate than the regular queue found in the web console. The queue under port 9524 is not accessible by default in Lansweeper 6.0.0.63 and more recent Lansweeper releases, as unrestricted access to this page poses a security risk. This article explains how to enable access to the old scanning queue under port 9524, for very specific cases where you're troubleshooting scanning issues.

It is strongly recommended that you view the scanning queue under Scanning\Scanning Queue in the web console and not under port 9524. Accessing the old queue under port 9524 poses a security risk. Only enable access to the queue under port 9524 if you have a very specific need for it or if you're troubleshooting scanning issues. Access to the old queue is disabled by default.

To be able to view the scanning queue under port 9524 of your scanning server or another port of your choice, do the following:

  1. Browse to the following section of the web console: Configuration\Server Options. If you have multiple scanning servers, there will be a separate tab within this menu for each server.
    Server Options menu
  2. In the Service Options section of the page, make sure the listen port specified is what you want it to be. This is the port your scanning server will use to listen for data sent by the LsPush scanning agent and is also the port you'll access to view the scanning queue. By default, the listen port is 9524. Unless you have a specific need to use a different port, changing the listen port is not generally required.
    listen port in Service Options
  3. Stop the Lansweeper Server service in Windows Services on the scanning server whose queue you want to make accessible over the listen port.
    stopping the Lansweeper service
  4. Run the following tool found on the scanning server:
    Program Files (x86)\Lansweeper\Tools\ConfigEditor.exe
    ConfigEditor tool for enabling scanning queue under port 9524
  5. Hit the Add button in the appSettings section of the Service tab and configure the popup as shown below. Don't forget to hit Save afterwards.
    ShowQueueStatus for enabling scanning queue under port 9524
  6. Restart the Lansweeper Server service in Windows Services
    restarting the Lansweeper service
  7. Browse to one of the URLs below to view your scanning queue. Scanning services hosted on Windows Vista, Windows Server 2008 or older operating systems use HTTP. Scanning services hosted on more recent operating systems use HTTPS. In the sample screenshot below, the scanning service is hosted on computer LAN-001 and the listen port is the default 9524.
    http://<IP address or name of the machine hosting your scanning service>:<listen port number>
    https://<IP address or name of the machine hosting your scanning service>:<listen port number>
    scanning queue under port 9524

Related Articles