Skip to Content
author's profile photo
Former Member

random "WSAECONNREFUSED: Connection refused" error

hello,

we're connecting to sap using logon groups and randomly we get this error

<i>TmConnect2: handle = 0

sncname = []

set snc-mode OFF TmISncSetOptions: set tm_mode for 0 to TM_SNC_OFF

disp service: sapdp00

TmIGetName: no DISPLAY set

NiMyHostName: hostname = 'APP006-2'

terminal name: APP006-2

connect to dispatcher on host /H/127.0.0.1/S/3201

RouteString </H/127.0.0.1/S/3201>

service in route <3201> != servname param <sapdp00>

NiIGetServNo: servicename '3201' = port 3201

NiICreateHandle: hdl 3 state NI_INITIAL_CON

NiIInitSocket: set default settings for new hdl 3/sock 1144 (I4; ST)

NiIBlockMode: set blockmode for hdl 3 FALSE

NiITraceByteOrder: CPU byte order: little endian, reverse network, low val .. high val

Wed Sep 26 16:59:12 2007

***LOG Q0I=> NiPConnect2: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 2985]

      • ERROR => NiPConnect2: SiPeekPendConn failed for hdl 3/sock 1144

      (SI_ECONN_REFUSE/10061; I4; ST; 127.0.0.1:3201) [nixxi.cpp 2985]

      NiICloseHandle: closing initial hdl 3

          • ERROR => TmIConnect: NiConnect (rc=-10) [dpxxtm.c 934]

          TM_LAYER TmConnect <<

          TmErrSet: socket invalid (-1)Wed Sep 26 17:00:52 2007

          NiICreateHandle: hdl 4 state NI_INITIAL_CON

          NiIInitSocket: set default settings for new hdl 4/sock 1624 (I4; DG)

          NiDgHdlCreate: state of hdl 4 NI_DG_UNCONNECTED

          NiHsLGetNodeAddr: got hostname 'localhost' from operation system

          NiIGetNodeAddr: hostname 'localhost' = addr 127.0.0.1

          NiDgHdlSendTo: hdl 4 sent 1 of 1 bytes to 127.0.0.1:0

          NiICloseHandle: shutdown and close hdl 4/sock 1624

          NiIExit: free nitab 0C0AF150

          TmThrExit: free local resources

          TmExit: free local resources</i>

          i can't figure why sap gui is trying to connect to 127.0.0.1 ???

          and after a while it works without any modification... very strange no? but annoying!

          if i do not use logon group and connect directly it works but it is not what i need to do.

          any idea?

          regards

          Add comment
          10|10000 characters needed characters exceeded

          • Follow
          • Get RSS Feed

          1 Answer

          • author's profile photo
            Former Member
            Posted on Sep 28, 2007 at 10:00 AM

            Hi Oliver,

            It look some problem in the configuration of logon groups. Please go through the document/process on configuration.

            Regards,

            Hari.

            Add comment
            10|10000 characters needed characters exceeded