cancel
Showing results for 
Search instead for 
Did you mean: 

WTS Connection Refused

adarsh_jainer
Participant
0 Kudos

Hi Mates,

I am facing an issue where in i am not able to start services in the application servers. When i raised an incident to SAP they told me to open WTS Connection refused.I opened WTS connection in service market place.

However the SAP People are not able to access our servers and they are getting connection refused error. I pasted all the commands in the routtab and then i tried to connect again but also of no use.

They even told to check me if WTS IS opened on the server and it is open. Still i am not able to resolve the issue.Please help.

SAP Network Interface Router, Version 40.4

peer SAProuter with NI version 40 ...

send new-routtab-request to running SAProuter ...

request successfully completed.

C:\Users\misadm>niping -c -O -S 3389 -H 192.168.140.54

Tue Jun 23 12:04:17 2015

***LOG Q0I=> NiPConnect2: 192.168.140.54:3389: connect (10061:

WSAECONNREFUSED: Connection refused) [nixxi.cpp 3286]

*** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 1/sock 280

(SI_ECONN_REFUSE/10061; I4; ST; 192.168.140.54:3389) [nixxi.cpp

3286]

*** ERROR => NiTClientLoop: NiHandle (rc=-10) [nixxtst.cpp 2590]

*************************************************************************

****

*

* ERROR partner '192.168.140.54:3389' not reached

*

* TIME Tue Jun 23 12:04:17 2015

* RELEASE 720

* COMPONENT NI (network interface)

* VERSION 40

* RC -10

* MODULE nixxi.cpp

* LINE 3286

* DETAIL NiPConnect2: 192.168.140.54:3389

* SYSTEM CALL connect

* ERRNO 10061

* ERRNO TEXT WSAECONNREFUSED: Connection refused

* COUNTER 1

*

*************************************************************************

****

C:\Users\misadm>niping -c -O -S 3389 -H 192.168.140.48

Tue Jun 23 12:04:37 2015

***LOG Q0I=> NiPConnect2: 192.168.140.48:3389: connect (10061:

WSAECONNREFUSED: Connection refused) [nixxi.cpp 3286]

*** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 1/sock 280

(SI_ECONN_REFUSE/10061; I4; ST; 192.168.140.48:3389) [nixxi.cpp

3286]

*** ERROR => NiTClientLoop: NiHandle (rc=-10) [nixxtst.cpp 2590]

*************************************************************************

****

*

* ERROR partner '192.168.140.48:3389' not reached

*

* TIME Tue Jun 23 12:04:37 2015

* RELEASE 720

* COMPONENT NI (network interface)

* VERSION 40

* RC -10

* MODULE nixxi.cpp

* LINE 3286

* DETAIL NiPConnect2: 192.168.140.48:3389

* SYSTEM CALL connect

* ERRNO 10061

* ERRNO TEXT WSAECONNREFUSED: Connection refused

* COUNTER 1

*

*************************************************************************



I am also attaching the routtab where they told to put specific commands.Please do inform if they are placed at right location.

Regards,

Adarsh

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Which host do you want SAP to connect to? What is the IP address? That needs to be maintained in saprouttab file:

192.168.140.54 or 192.168.140.48

I see you maintained 192.168.140.49

adarsh_jainer
Participant
0 Kudos

Hi mam,

SAp team wnts to connect to the Main PRD System that is 192.168.140.54 and its application servers 192.168.140.48,49 and our saprouter is located in solman that is 192.168.140.47

If i try to ping using niping from solman to any of these servers i am getting the error.

Regards,

Adarsh

Former Member
0 Kudos

You would need to maintain 192.168.140.48,49 as well in saprouttab file.

Have you maintained these and 192.168.140.54 under system data as well in SMP?

adarsh_jainer
Participant
0 Kudos

Hi Mam,

Could you specify where exactly should i maintain the server address.SAP people have told me to paste specific data in the routtab file.I am pasting the routtab file along wuth the commands provided by SAP.

--------------------------------------------------------------------------------------------------------------------------------------------

# SNC connection to and from SAP

#P * * *

p 169.145.197.110 192.168.140.47 8000

p 169.145.197.110 192.168.140.54 8000

KT "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 169.145.197.110 *

# KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" migsolman.milltec.com 80

# KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" migsolman.milltec.com 8000

KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" migprd.milltec.com 80

KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" migprd.milltec.com 8000

KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" migsolman.milltec.com 8001

# SNC-connection from SAP to local system for R/3 Support

KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.45 3200

KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.46 3200

KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.47 3200

KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.48 3200

KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.49 3200

KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.50 3200

KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.54 3200

# SNC-connection from SAP to local system for pcAnywhere, if applicable

#KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.45 5631

#KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.46 5631

#KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.47 5631

#KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.48 5631

#KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.49 5631

#KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.50 5631

#KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.54 5631

# SNC-connection from SAP to local system for SAPtelnet, if applicable

#KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.45 23

#KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.46 23

#KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.47 23

#KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.47 23

#KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.48 23

#KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.49 23

#KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.50 23

#KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.54 23

# SNC-connection from SAP to local system for WTS, if applicable

#KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.45 3389

#KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.46 3389

#KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.47 3389

#KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.48 3389

#KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.49 3389

#KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.50 3389

#KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.54 3389

KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.54  49977

KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.47  3389

# SNC connection to local Portal system for URL access, if applicable

# Portal server: 192.168.1.4

# Port number: 50003

KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.45 50003

KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.46 50003

KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.47 50003

KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.54 50003

KP "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.50 50003

# Access from local network to SAP

P * * *

P 192.168.140.*  169.145.197.110 3299

P 192.168.140.45 169.145.197.110 3299

P 192.168.140.46 169.145.197.110 3299

P 192.168.140.47 169.145.197.110 3299

P 192.168.140.48 169.145.197.110 3299

P 192.168.140.49 169.145.197.110 3299

P 192.168.140.50 169.145.197.110 3299

P 192.168.140.54 169.145.197.110 3299

P 192.168.*.*  169.145.197.110 3299

# All other connections will be denied

P 192.168.140.* 169.145.197.110 3299

P 169.145.197.110 192.168.140.* 3299

#D * * *

----------------------------------------------------------------------------------------------------------------------------------------

And the reply what i have got from SAP is attached below.

----------------------------------------------------------------------------------------------------------------------------------------

For connection refused error, please check the connectivity between

your saprouter 'MIGSOLMAN' to your respective servers. You can do the

following on your saprouter to check :

niping -c -O -S 3389 -H 192.168.140.54

niping -c -O -S 3389 -H 192.168.140.48

For route permission denied error, please add the following entry in

the saprouttab of your SAProuter and activate the new saprouttab with

the command 'saprouter -n'.

KT  "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 169.145.197.110 *

KP  "p:CN=sapserv9, OU=SAProuter, O=SAP, C=DE" 192.168.140.49 3389

and ensure server MIGPRDAPP2 is reachable from your saprouter

----------------------------------------------------------------------------------------------------------------------------------------

     I tried to paste it under # SNC-connection from SAP to local system for WTS, if applicable

but still its not working.They are telling me to check port no:3389 is working.

  I ahve tried evrything but it is stil not working.Please do check.


Regards,

Adarsh

Former Member
0 Kudos

saprouttab file maintain the following and restart saprouter:

# SNC-connection from SAP to local system for WTS, if applicable

P sapserv9 192.168.140.49 3389

P sapserv9 192.168.140.48 3389

P sapserv9 192.168.140.54 3389

Also check if system data is maintained as below:

https://support.sap.com/remote-support/remote-connections.html
Click on Maintain Connections
Select your system
Click on System Data
Check if DB Server and Application server are maintained there
Maintain and save if not done

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Adarsh,

1st make sure that this windows terminal is maintained in sercie market place under your system for which you are opening connection. Make sure all information passed is correct.

2nd Make sure that the ports are opened - without it it's of no use to open connection.

3rd In routtab make sure correct IP and port number is passed.

Do some network test from your side and enable ports on firewall.

If above info if taken account, then try to test again and ask SAP to logon.

Regards,

divyanshu_srivastava3
Active Contributor
0 Kudos

Refer - 500235 - Network Diagnosis with NIPING

Do a network test from saprouter to PRD and PRD to saprouter.

Same applied for your WTS system. Make sure your SAP systems are accessible from WTS systems.

Fix if you see network issues - for eg blocked ports and system which are not reachable.

And follow the above 3 points.

Take backup of current routtab

delete everything and put P * * *

Then do a test..

Regards,