Error message 'The port selected is already in use' displayed during Enterprise Console installation

  • N°Id de l'article : 116881
  • Note :
  • 14 clients ont donné une note de 3.5 sur 6 à cet article
  • Mis à jour : 19 nov. 2013


The following error message is displayed during the installation of Enterprise Console 5.x:

The port selected is already in use.

First seen in

Enterprise Console 5.0.0


Either the port you have entered is currently in use or the check performed by the installer is failing.

What To Do

Check that the port you have chosen is not already in use by another process on the machine, to do so please perform the following steps:

  1. Open a command prompt running as an administrative account.  Start | Run type: cmd.exe press Enter.
  2. In the command windows type:
    netstat -abno > netstat.txt
    press Enter.
  3. Type:
    notepad netstat.txt
    press Enter.
  4. Search in Notepad for the port you chose during the installation.  For example if the port chosen was 95, search for :95.  The colon will ensure this searches for just the port part of an endpoint address.
  5. If a match is made, check the name of the process that is using the port. You can either, choose a different port or potentially restart or temporarily stop the process using the port.  If no port is returned please continue to the next section.

Check that HTTP.sys is listening on  

By default HTTP.sys (the HTTP service) listens on all interfaces which includes  If however you have configured the HTTP service to listen just on a particular IP address or IP addresses that does not include, the check made by the installer will fail.  

The Enterprise Console installer (setup.exe) checks if the port chosen is available by attempting to register a URL on the chosen port and then un-register it.  

Note: The installer attempts to register the following URL:[PORT-CHOSEN]/Sophos/Installer/

If however you have configured the HTTP service with a command such as:

netsh http add iplisten [IP]

this will create a REG_MULTI_SZ value called ListenOnlyList under the registry key: HKLM\SYSTEM\CurrentControlSet\Services\HTTP\Parameters.

If this key exists, without being in the list, the check made by the installer will fail.  To ensure it succeeds you can add to the key by running the following command:

Windows 2008/Windows 7
netsh http add iplisten

Windows 2003
httpcfg set iplisten -i

Note: httpcfg.exe is not installed by default but can be found on the 2003 operating system CD in the following location '...\Support\Tools\'.  Otherwise the tool can be downloaded from Microsoft. It is included in the XP SP2 Support Tools.

Note: on Windows 2003, you will have to restart the HTTP service after changing the configuration.  To do so, run: NET STOP HTTP, followed by NET START HTTP (remembering to start any services that were stopped)

This will add to the list of addresses the HTTP service will listen on.  Once is added, attempt to choose a port a click Next.

Important: Once you are past the port check page, it is recommended to remove from the ListenOnlyList key, especially if it is the only valid IP address in the list as this will prevent remote clients accessing the Sophos web service.  To do so run:

Windows 2008/Windows 7

netsh http delete iplisten ipaddress=

Windows 2003

httpcfg delete iplisten -i


Si vous avez besoin de plus d'informations ou d'instructions, veuillez contacter le support technique.

Évaluez cet article

Très mauvais Excellent