My troubleshoot steps are: Install SAP GUI locally inside the guest VMware that the SAP server is running and test connection to local host; Install SAP GUI in the host that the VMware is running and try connection to localhost or same IP; Install SAP GUI in the vlan to be sure routing and port forwarding is working good with NAT configuration and client/remote access configuration.
(Conn)(GW) Connection refused - SAP Netweaver Application Error> occured >Thu May 22 14:06:49,552< RfcException: message: Connect to SAP gateway failed Connect parameters: TPNAME=SLD_NUC GWHOST=localhost GWSERV=sapgw00 ERROR partner '127.0.0.1:sapgw00' not reached TIME Thu May 22 14:06:49 2015 RELEASE 720 COMPONENT NI (network interface) VERSION 40 RC -10 MODULE nixxi.cpp LINE 3286 DETAIL NiPConnect2 SAP Gui connection error popup: WSAECONNREFUSED Oct 28, 2013
How to solve NIECONN_REFUSED issues during sapcontrol
windows - Connect(): WSAECONNREFUSED on connect - Stack Usually ECONNREFUSED means that the computer you are trying to connect to refused to accept the connection. The usual reason for that is that there is no program listening to the specified port on the target computer. You can confirm that this is the case by running telnet from a DOS prompt to the same host and port, e.g.: telnet 192.168.1.99 1234
Error 10061 - Connecting to SAP from .Net - Stack Overflow
Error> occured >Thu May 22 14:06:49,552< RfcException: message: Connect to SAP gateway failed Connect parameters: TPNAME=SLD_NUC GWHOST=localhost GWSERV=sapgw00 ERROR partner '127.0.0.1:sapgw00' not reached TIME Thu May 22 14:06:49 2015 RELEASE 720 COMPONENT NI (network interface) VERSION 40 RC -10 MODULE nixxi.cpp LINE 3286 DETAIL NiPConnect2 SAP Gui connection error popup: WSAECONNREFUSED Oct 28, 2013