cancel
Showing results for 
Search instead for 
Did you mean: 

Error while pinging RFC destination.

former_member337476
Participant
0 Kudos

Hi guys,

I have created a RFC destination in NWA. I am trying to ping the destination to check the connection, but it is showing error.

here is the error.

Error during ping operation: Initialization of repository destination SAP_SRM$WebFlowConnector failed: Connect to SAP gateway failed

Connection parameters: TYPE=A DEST=SAP_SRM$WebFlowConnector ASHOST=d51.sonyericsson.net SYSNR=51 PCS=1

LOCATION

CPIC (TCP/IP) on local host with Unicode

ERROR  

partner '10.132.248.81:3351' not reached

TIME    Tue Feb 10 15:08:12 2015 RELEASE

721

COMPONENT   NI (network interface)

VERSION

40

RC      -10
MODULE  nixxi.cpp
LINE    3285
DETAIL  NiPConnect2: 10.132.248.81:3351

SYSTEM CALL connect

ERRNO   10061 ERRNO TEXT WSAECONNREFUSED: Connection Refused Counter 2

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Hi Madhu,

Have you checked the sapms<SID> <port> maintianed in your /etc/services file on both the hosts.

Also do perform the niping test on the host.

Let us know the output.

Regards,

ram

Answers (7)

Answers (7)

former_member185954
Active Contributor
0 Kudos

Hello Madhu,

Sorry, I am asking a dumb question, where are you running this tests such as ping, netstat, nslookup etc ? on your desktop or on the server hosting the JAVA instance where you are trying to setup the RFC?

Regards,

Siddhesh

Former Member
0 Kudos

Hi Madhu,

First check if the gateway is running in the target system using the below commands

ps -ef|grep gwrd   or     netstat -anp | grep <gateway port>

If running then you to check the connectivity form source to target using 'telent <ip> <port>'

THis will give results only if the telnet is enabled in the system.

Most probably the port might be disabled for external connections which can be resolved by contacting network admins.

Also check if the secinfo and reginfo files .

Regards,

Nikhil


giridhar_vegi
Participant
0 Kudos

Hi madhu ,

               Please check whether the port is maintained or not by using the tcode smicm

Thanks

Giridhar

former_member182657
Active Contributor
0 Kudos

Hi Madhu,


ERRNO   10061 ERRNO TEXT WSAECONNREFUSED: Connection Refused Counter 2

Could you share results for command

niping -c -H <Host Name> -S 3351  or also with niping -c -H < IP > -S 3351.Please refer SAP Note  1341701 - partner 'hostname:service' not reached

Addition to it maintain host file entries as like


127.0.0.1  localhost.localdomain localhost

<IP>       <Host Name>

and make sure you maintained entry for port 3351 under /etc/services file of your system.One more thing which i would like to check on system is to completely disability of firewall & SELINUX modes (If on linux) or turn off of any Anti Virus as well as firewall in case of windows.

Hope this will also help you.

Regards,

Gaurav

former_member185239
Active Contributor
0 Kudos

Hi Madhu,

From the NWA system, telnet the port

telnet 10.132.248.81 3351(if your connection is getting refused then you need to open the port 3351)

Moreover ping d51.sonyericsson.net if you are not getting the correct IP or host not found error then you need to maintain the below entry in hosts file

<IP> d51.sonyericsson.net d51

With Regards

Ashutosh Chaturvedi

former_member337476
Participant
0 Kudos

Hi Ashutosh,

I carried out telnet for the port 3351.

it is showing "could not open connection to the host, on port 3351: Connect failed"

You have mentioned that I need to open the port 3351. Can you pls let me know how to do it.

BR

Madhu N G

former_member337476
Participant
0 Kudos

And also i tried to ping d51.sonyericsson.net , the ip is showing correctly but it is showing request timed out. Pls suggest me how to proceed.

former_member204080
Active Contributor
0 Kudos

Hi,

Please check at os level if the port 3351 is listening or not

You can use below commad

netstat -An|grep -i 3351 .If port is listening it will return a value

If not you need to contact your OS admin to open the port

can you check /etc/hosts file and see if entry d51.sonyericsson.net is maintained .

If not edit it and place below details

<IP of the d51.sonyericsson.net server>       FQDN(d51.sonyericsson.net)

Regards,

Murali

former_member185239
Active Contributor
0 Kudos

Hi Madhu,

You need to contact your OS administrator to open the port 3351 from NWA system to <destination host>

Its a firewall setup between your NWA system and destination system.

Also share the details of your scenario.

With Regards

Ashutosh Chaturvedi

former_member337476
Participant
0 Kudos

And one more thing, while creating RFC destination I have not entered any value for gateway host and service

former_member185954
Active Contributor
0 Kudos

Hello,

is the IP address 10.132.248.81, ip address of the host - d51.sonyericsson.net  ? if yes, there is probably a firewall/antivirus running on or between the source and destination systems that maybe blocking communication. 

Regards,

siddhesh

giridhar_vegi
Participant
0 Kudos

Hi madhu ,

               please check whether the port 3351 is maintained in the host file or not

Thanks

Giridhar

former_member185954
Active Contributor
0 Kudos

you mean services file ?

giridhar_vegi
Participant
0 Kudos

yes

former_member337476
Participant
0 Kudos

In services file it is maintained as

sapgw51    3351/tcp    # SAP System Gateway Port