SAP Knowledge Base Article - Preview

2062508 - sapcontrol error "NIECONN_REFUSED (WSAECONNREFUSED: Connection refused)"

Symptom

All conditions bellow must be true:

  1. 'sapcontrol' commands used by the upgrade tool fail with error:
      sapcontrol -nr <instance_number> -function <sapcontrol_function>
      FAIL: NIECONN_REFUSED (WSAECONNREFUSED: Connection refused),
      NiRawConnect failed in plugin_fopen()   
          
  2. The command is successful if executed with the host option:
      sapcontrol -nr <instance_number> -host <instance_hostname>:5<instance_number>13 -function <sapcontrol_function> 
           
  3. You have set parameter service/hostname to the instance hostname for the SAP start service.


Read more...

Environment

SAP NetWeaver system

Product

SAP NetWeaver all versions

Keywords

SUM sapcontrol sapstartsrv FAIL NIECONN_REFUSED service/hostname , KBA , BC-CST-STS , Startup Service , BC-UPG-PRP , Upgrade Preparation , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.