In this post, we will discuss how to resolve “register-spworkflowservice the underlying connection was closed” which comes while configuring the workflow manager in SharePoint 2013.
The error comes when I run the Register-SPWorkflowService command in SharePoint 2013 management shell.
Register-SPWorkflowService -SPSite “http://win-pfcp2dgt8di/sites/EnjoySharePoint/” -WorkflowHostUri “http://WIN-PFCP2DGT8DI.enjoysharepoint.org:12290” -AllowOAuthHttp
You may like to read:
– SharePoint Server 2016 Installation Step by Step
The error comes like below:
The problem was with the port number, I was giving here 12290. When I changed to 12291 it works for me.
For https, the port was set to 12290 and for http the port was set to 12291.
My site is configured to http. So I changed the command like below:
Register-SPWorkflowService -SPSite “http://win-pfcp2dgt8di/sites/EnjoySharePoint/” -WorkflowHostUri “http://WIN-PFCP2DGT8DI.enjoysharepoint.org:12291” -AllowOAuthHttp
If you want to check you open your IIS (Internet Information Services), Manager. Then select the Workflow Management Site from the site and you will be able to see your protocols in Browse Website section like below:
Hope this will be helpful.
Download FREE SharePoint 2019 Installation PDF Guide
This FREE PDF contains, Steps by step guide to install SharePoint 2019 Preview, prerequisites, hardware and software new features. First impression to SharePoint Server 2019 new modern site, modern lists and modern document libraries.
You May Also like the Following SharePoint Online Tutorials: