cancel
Showing results for 
Search instead for 
Did you mean: 

Connect to SAP gateway failed

Former Member
0 Kudos

Dear all,

i getting the following Error.

Error> occured  >Mon Aug 24 15:16:54,671<    
RfcException:
    message: Connect to SAP gateway failed
Connect parameters: TPNAME=LCRSAPRFC_MIT GWHOST=srssc-svr20 GWSERV=sapgw00

Error> occured  >Mon Aug 24 15:16:54,671<    
RfcException:
    message: Connect to SAP gateway failed
Connect parameters: TPNAME=LCRSAPRFC_MIT GWHOST=srssc-svr20 GWSERV=sapgw00

ERROR       partner 'srssc-svr20:sapgw00' not reached

TIME        Mon Aug 24 15:16:54 2009
RELEASE     700
COMPONENT   NI (network interface)
VERSION     38
RC          -10
MODULE      nixxi.cpp
LINE        2764
DETAIL      NiPConnect2
SYSTEM CALL connect
ERRNO       10061
ERRNO TEXT  WSAECONNREFUSED: Connection refused
COUNTER     14

    Return code: RFC_FAILURE(1)
    error group: 102
    key: RFC_ERROR_COMMUNICATION

the case is like this;

I'm setting up the SLD connection from development server(MIT) to Production server (MID).

SLD is setting on MID. so that MIT will setting the SLD to connect MID.

MID setting is:

system no: 02

client: 001

MIT setting is:

system no:00

client: 001

so that My MIT server sm59 is set like the following:

SAPSLDAPI_MIT, LCRSAPRFC, SLD_NUC, SLD_UC will point like the following

Gateway Host: svr5 (MID Server)

Gateway service: sapgw02 (MID service)

on MID visual admin,

SAPSLDAPI_MIT, LCRSAPRFC like following:

RFC Destination = My own MIT-svr20 server setting

responsitory = MID-svr5 server setting

i success test the SLD Supplier which is point to MID-svr5 setting too.

do anyone have idea how the error come from?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos
ERRNO TEXT  WSAECONNREFUSED: Connection refused

Usually this error is related with the network/connectivity. Check the port for sapgw00. You can use netstat -an from the command prompt, check firewall rules, disable antivirus if any and then give a try.

Former Member
0 Kudos

thanks all for reply.

i've use to compare the netword by using netstat -an to check the ip between the production and clone server.

seem the server ip under established. but then i found out oracle was miss the EJB dictionary even i deploy on SDM/remoteGUI.

so i import and deploy the dictionary using developer studio then the network problem gone. i even don know why and how it could be solve. maybe the application could not connect to the dictionary so prompt the network problem. now the problem solve but i wish someone to explain how the work flow to make it done.

Thanks

Answers (1)

Answers (1)

Former Member
0 Kudos

"ERROR partner 'srssc-svr20:sapgw00' not reached"

Like Manoj mentions this is likely a networking issue. A quick way to test this connectivity from the server side is to try to telnet to the remote port using something like this 'telnet srssc-svr20 3300' You might alwo want to double-check and see if you can resolve the hostname first.

Hope that helps.

J. Haynes