Goal:  

Install Workflow manager in order to use SharePoint 2013 workflow.

Problem:  

When I try registrating between SP2013 och WorkFlow manager based on the code:

```
 Give this command "Register-SPWorkflowService -SPSite "http://xxxx" -WorkflowHostUri "http://xxxx:12291" - AllowOAuthHttp

```

I retrieve an error message:

```
Register-SPWorkflowService : Unable to connect to the remote service at http://sharepoint01.com:12291/SharePoint/. See InnerException for more
 details. Client ActivityId : ce9ff6bc-b517-4eb7-9fb1-ea0197e2a3c4.
At line:2 char:1
+ Register-SPWorkflowService -SPSite "http://sharepoint01/" -WorkflowHostUri "http ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (Microsoft.Share...WorkflowService:RegisterSPWorkflowService) [Register-SPWorkflowService], Workfl 
   owEndpointNotFoundException
    + FullyQualifiedErrorId : Microsoft.SharePoint.WorkflowServices.PowerShell.RegisterSPWorkflowService

```

> 
> I was trying a lot to solve this case but I still don't know what to
>  do?
> 
> 
> 

Information:  

- Using SharePOint 2013 in my WMware Player 

* <http://tech.just4sharing.com/Pages/tech/Configuring-SharePoint-2013-to-support-workflow-Management-Service.aspx#.UwS0C4U6tnE>

-Error message from C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\LOGS 

```
Process                     Area                    Category                        Message     Correlation
PowerShell_ISE.exe (0x2430) SharePoint Foundation   PowerShell                  Entering BeginProcessing Method of Register-SPWorkflowService.  ce9ff6bc-b517-4eb7-9fb1-ea0197e2a3c4
PowerShell_ISE.exe (0x2430) SharePoint Foundation   PowerShell                  Leaving BeginProcessing Method of Register-SPWorkflowService.   ce9ff6bc-b517-4eb7-9fb1-ea0197e2a3c4
PowerShell_ISE.exe (0x2430) SharePoint Foundation   PowerShell                  Entering ProcessRecord Method of Register-SPWorkflowService.    ce9ff6bc-b517-4eb7-9fb1-ea0197e2a3c4
PowerShell_ISE.exe (0x2430) SharePoint Foundation   Topology                    SecurityTokenServiceSendRequest: RemoteAddress: 'http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc' Channel: 'Microsoft.IdentityModel.Protocols.WSTrust.IWSTrustChannelContract' Action: 'http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue' MessageId: 'urn:uuid:a27554c4-0068-48ba-88b7-66622d90ac56' ce9ff6bc-b517-4eb7-9fb1-ea0197e2a3c4
w3wp.exe (0x1B88)           SharePoint Foundation   Topology                    SecurityTokenServiceReceiveRequest: LocalAddress: 'http://sharepoint01.adventureworks.local:32843/SecurityTokenServiceApplication/securitytoken.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue' MessageId: 'urn:uuid:a27554c4-0068-48ba-88b7-66622d90ac56' ce9ff6bc-b517-4eb7-9fb1-ea0197e2a3c4
w3wp.exe (0x1B88)           SharePoint Foundation   Monitoring                  Entering monitored scope (ExecuteSecurityTokenServiceOperationServer). Parent No    ce9ff6bc-b517-4eb7-9fb1-ea0197e2a3c4
w3wp.exe (0x1B88)           SharePoint Foundation   Claims Authentication       STS Call Claims Windows: Successfully requested sign-in claim identity for user 'ADVENTUREWORKS\Administrator'. ce9ff6bc-b517-4eb7-9fb1-ea0197e2a3c4
w3wp.exe (0x1B88)           SharePoint Foundation   Monitoring                  Leaving Monitored Scope (ExecuteSecurityTokenServiceOperationServer). Execution Time=3.7721274631273    ce9ff6bc-b517-4eb7-9fb1-ea0197e2a3c4
PowerShell_ISE.exe (0x2430) SharePoint Foundation   Topology                    Updating SPPersistedObject WorkflowServiceApplicationProxy Name=Workflow Service Application Proxy. Version: 206293 Ensure: False, HashCode: 51726067, Id: 1ed98212-4998-4229-a889-e8b6895a3db0, Stack:    at Microsoft.SharePoint.WorkflowServices.WorkflowServiceApplicationProxy.Update()     at Microsoft.SharePoint.WorkflowServices.PowerShell.RegisterSPWorkflowService.InternalProcessRecord()     at Microsoft.SharePoint.PowerShell.SPCmdlet.ProcessRecord()     at System.Management.Automation.CommandProcessor.ProcessRecord()     at System.Management.Automation.CommandProcessorBase.DoExecute()     at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)     at System.Management.Automation.PipelineOps.InvokePipel... ce9ff6bc-b517-4eb7-9fb1-ea0197e2a3c4
PowerShell_ISE.exe (0x2430) SharePoint Foundation   Topology                    ...ine(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)     at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame)     at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)     at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)     at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)     at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)     at System.Management.Automation.DlrScriptCommandProcessor.RunClause(Action`1 clause, Object dollarUnderbar, Object inputT...  ce9ff6bc-b517-4eb7-9fb1-ea0197e2a3c4
PowerShell_ISE.exe (0x2430) SharePoint Foundation   Topology                    ...oProcess)     at System.Management.Automation.CommandProcessorBase.DoComplete()     at System.Management.Automation.Internal.PipelineProcessor.DoCompleteCore(CommandProcessorBase commandRequestingUpstreamCommandsToStop)     at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)     at System.Management.Automation.Runspaces.LocalPipeline.InvokeHelper()     at System.Management.Automation.Runspaces.LocalPipeline.InvokeThreadProc()     at System.Management.Automation.Runspaces.PipelineThread.WorkerProc()     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)     at System.Threading.ExecutionContext.Run(Execut...  ce9ff6bc-b517-4eb7-9fb1-ea0197e2a3c4
PowerShell_ISE.exe (0x2430) SharePoint Foundation   Topology                    ...ionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)     at System.Threading.ThreadHelper.ThreadStart()     ce9ff6bc-b517-4eb7-9fb1-ea0197e2a3c4
PowerShell_ISE.exe (0x2430) SharePoint Server       Workflow Services           Unexpected retrieval of property on WorkflowServiceApplicationProxy:    ce9ff6bc-b517-4eb7-9fb1-ea0197e2a3c4

PowerShell_ISE.exe (0x2430) SharePoint Foundation   PowerShell                  Microsoft.Workflow.Client.WorkflowEndpointNotFoundException: Unable to connect to the remote service at http://sharepoint01.com:12291/SharePoint/. See InnerException for more details. Client ActivityId : ce9ff6bc-b517-4eb7-9fb1-ea0197e2a3c4. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 208.73.211.230:12291     at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)     at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)     --- End of inner exception stack trace ---     at Microsoft.Workflow.... ce9ff6bc-b517-4eb7-9fb1-ea0197e2a3c4
PowerShell_ISE.exe (0x2430) SharePoint Foundation   PowerShell                  ...Common.AsyncResult.End[TAsyncResult](IAsyncResult result)     at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result)     at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)     --- End of inner exception stack trace ---     at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)     at Microsoft.Workflow.Client.WorkflowManagementClient.SendRequest[T](HttpWebRequest request, T content)     at Microsoft.Workflow.Client.ScopeManager.Get()     at Microsoft.SharePoint.WorkflowServices.WorkflowServerPairingContext.RegisterFarm()     at Microsoft.SharePoint.WorkflowServices.PowerShell.RegisterSPWorkflowService.InternalProcessRecord()     at Microsoft.SharePoint.PowerShell.SPCmdlet.ProcessReco...  ce9ff6bc-b517-4eb7-9fb1-ea0197e2a3c4

PowerShell_ISE.exe (0x2430) SharePoint Foundation   PowerShell                  ...rd() ce9ff6bc-b517-4eb7-9fb1-ea0197e2a3c4
PowerShell_ISE.exe (0x2430) SharePoint Foundation   PowerShell                  Error Category: InvalidData    Target Object  Microsoft.SharePoint.WorkflowServices.PowerShell.RegisterSPWorkflowService  Details  NULL  RecommendedAction NULL ce9ff6bc-b517-4eb7-9fb1-ea0197e2a3c4
PowerShell_ISE.exe (0x2430) SharePoint Foundation   PowerShell                  Leaving ProcessRecord Method of Register-SPWorkflowService. 33832a19-2b3a-0000-3c31-83333a2bcf01

```

![enter image description here](https://i.stack.imgur.com/PenA8.png)

![enter image description here](https://i.stack.imgur.com/CDtRj.png)

![enter image description here](https://i.stack.imgur.com/8kwjo.png)