The Sophos Community will be unavailable from 13:00 to 18:00 UTC this Saturday, October 1st for upgrades. Stay tuned to our Twitter account @SophosSupport for updates.
This article describes how to change the port which Sophos Update Manager (SUM) uses to communicate with the Remote Management System (RMS) agent.
Applies to the following Sophos product(s) and version(s) Sophos Update Manager
You need to change the SUM configuration file system.xml so SUM uses a different port and create a new configuration file (called scapi_config.txt) so the Sophos Agent service connects to SUM on the same port as entered into the system.xml configuration file.
C:\Program Files\Sophos\Enterprise Console\Remote Management System\
C:\Program files\Sophos\Remote Management System\ C:\Program Files (x86)\Sophos\Remote Management System\
Note: If you want to reset the SUM and the Sophos Agent to use the default port, repeat steps 1 to 4 above, delete the scapi_config.txt created in step 5 and restart the services described in step 8.
If the port specified in scapi_config.txt does not match the port defined in system.xml the Sophos Agent will fail to connect to SUM and the Agent log file will record the following error in the first few lines (i.e., when the Sophos Agent service starts up):
[DATE] [TIME] 0FDC I SDDM:SCAPI Calling Connect... [DATE] [TIME] 0FDC I SDDMA: An uninitialized socket was created. [DATE] [TIME] 0FDC I SDDMA: Failed to connect to the SUM host: connection was refused [DATE] [TIME] 0FDC I SDDMA: The socket 1224 was shut down. [DATE] [TIME] 0FDC I SDDMA: The socket 1224 was closed. [DATE] [TIME] 0FDC E SDDM:SCAPI threw an exception: Failed to connect to the SUM host: connection was refused
Note: Similar errors may be logged for other reasons.
After following the above steps, if the issue still remains, check to see if another third party application is now using the chosen port. Further details can be found in article 118466
Every comment submitted here is read (by a human) but we do not reply to specific technical questions. If you need technical support please post a question to our community. Alternatively for licensed products open a support ticket.