SAP Knowledge Base Article - Preview

2738531 - FAIL: NIECONN_REFUSED (Connection refused), NiRawConnect failed in plugin_fopen()


Local sapstartsrv is confirmed to be up and running but does not respond to sapcontrol client calls such as:

sapcontrol -nr $$ -function GetProcessList
sapcontrol -nr $$ -function VersionInfo

The response is:

FAIL: NIECONN_REFUSED (Connection refused), NiRawConnect failed in plugin_fopen()

Operating system command below will show that the hostname "localhost" is not correctly bound to the loopback interface IP as it should but to some other IP that belongs to the host:

server1:sysadm 01> niping -v

Hostname/Nodeaddr verification:

Hostname of local computer: server1 (NiMyHostName)
FQHN of local computer: (NiGetOwnFQDN)

Lookup of hostname: server1 (NiHostToAddr) --> IP-Addr.:
Lookup of IP-Addr.: (NiAddrToHost) --> Hostname:

Lookup of hostname: localhost (NiHostToAddr) --> IP-Addr.:
Lookup of IP-Addr.: (NiAddrToHost) --> Hostname: server1-bkp



SAP NetWeaver release independent


SAP NetWeaver Application Server for ABAP innovation package all versions ; SAP NetWeaver all versions


sapstartsrv, network, soap:1023, srt_log, srt_admin, smicm, icm trace, sm21, dev_icm , KBA , BC-CST-STS , Startup Service , BC-NET , Network Infrastructure , Problem

About this page

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

Search for additional results

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