Solution : https://service.sap.com/sap/support/notes/1595231 (SAP Service marketplace login required)
Summary : Key words : Related Notes :
This SAP Note addresses issues where the HTTP message server port setting in SMD agent configuration does not match the managed system's actual port setting, leading to connection errors during system diagnostics setup. The port mismatch generally occurs due to manual changes to the port numbers from the 81
p4 port=50004 user=j2ee_admin sid=xxx instancenumber=00connection error, happen due wrong http message server port, property <sid>/sapj2ee/msgserver/httpport3, sap system sid [xxx/null], http message server port calculated, http message server port storage, [thr 01] http port 6420 state listen -----, analysis -> agent administration -> applications configuration ->, correct http message server port, socket p4 port reason
1448655 Inst. 7.30 - Diagnostics Agent installation 1368413 Inst. 7.20/7.12 - Diagnostics Agent installation 1234387 Inst. 7.1 EhP1 - Diagnostics Agent installation