Article ID: 115558, created on Feb 15, 2013, last review on Sep 14, 2015

  • Applies to:
  • Operations Automation


OA tasks to provision Windows services like Exchange or SharePoint through the Windows Provisioning Engine (WPE) fail with the error message 'Connection refused: connect failed in tcp_connect()' like in the example below:

Task ID             198056
 Queue name         ADSCTask_S000000039
 Task name         Create user 'johndoe' in the 'LDAP://OU=S000000039,OU=Provider,OU=Hosting,DC=hosting,DC=local'
 Task description Create user 'johndoe' in the 'LDAP://OU=S000000039,OU=Provider,OU=Hosting,DC=hosting,DC=local'
 Queue status     Rescheduled
 Start not earlier than  Feb-15-2013 12:42
 Method name         taskDispatcher_ on OBJREF:ActiveDirectory:0:getOU:5
 Last execution output    
 Destination host '' (#16), IP '' :
 SOAP Error: Client, Connection refused: connect failed in tcp_connect() (host '', error code 111).


As it can be seen in the failed task details OA cannot establish TCP connection to the WPE on the host to perform provisioning operations. WPE may be not accessible due to various reasons:

  • OA cannot resolve WPE hostname to IP address
  • No routing between OA and WPE host
  • Needed TCP port is closed on WPE host
  • IIS is stopped on WPE host
  • WPE website is misconfigured in IIS


The Window Provisioning Engine is implemented as IIS application (website) listening to the special port. Please follow the steps below to resolve the problem.

  1. Check if OA can resolve hostname of the WPE host to IP address, use utilities like ping, host, dig, nslookup on OA Management Node.

  2. Check if OA can connect to WPE port. First, find the port configured in OA for connections to the WPE:

    • Log into OA Provider Control Panel
    • Go to Deployment Director > Server Manager > Hardware Nodes
    • Click on the WPE host
    • Switch to the Packages > PPM tab
    • Click on the WindowsProvisioningEngine package
    • Switch to the Package properties tab
    • Remember the value of the Windows Provisioning Engine port parameter (see the screenshot below)

      wpe properties

      Log into OA Management Node using SSH/RDP and check if OA can connect to the found port on WPE host using e.g. telnet utility: telnet WPE_HOST WPE_PORT Replace WPE_HOST with hostname of the WPE host and WPE_PORT with the found value of WPE port.

  3. If connection to WPE port cannot be established log into the WPE host using RDP and check if WPE IIS application is configured and works properly.

    First, make sure that IIS is up and running on the WPE host, use the Services snap-in of the Microsoft Management Console. Alternatively, use the 'net' utility in command-line tool to check if the "World Wide Web Publishing Service" service is running, e.g.: net start | find "World Wide Web Publishing Service" If IIS service is running open IIS Manager and check if WPE website is running and listens to the correct port:

    • Open IIS Manager
    • Find the Windows Provisioning Engine wesbite in the list of IIS sites and make sure its status is Started
    • Select the Windows Provisioning Engine website and click the Bindings link in the Actions panel
    • In the opened window check that WPE website is configured to listen to HTTPS protocol on the port which is set in the WPE package in OA Control Panel, see screenshot below.


Search Words

SOAP Error: Client, A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. : connect failed in tcp_connect() (host '', error code 10060).

Connection refused: connect failed in tcp_connect()

caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF