Applications Systems

Error: "Unable to create WSMan listener" or "An HTTPS listener currently exists on port 5986"

This article provides brief information and steps to resolve the following errors: Unable to create WSMan listener An HTTPS listener currently exists on port 5986

First published date

10/10/2018 8:48 PM

Last published date

4/13/2022 8:01 AM

Overview

This article provides brief information and steps to resolve the following errors:

  • Unable to create WSMan listener
  • An HTTPS listener currently exists on port 5986

Product section

Server Application Monitor

Resolution

1. Open the Command Prompt with administrator rights.

2. Enter the following commands depending on your course of action:

  • To view WinRM configuration
winrm get winrm/config
  • To view WinRM HTTPS Listener settings
winrm get winrm/config/listener?Address=*+Transport=HTTPS​
​​netstat -an | findstr "5986"​
  • To remove WinRM HTTPS Listener settings
​-- Scripts are not supported under any SolarWinds support program or service.
-- Scripts are provided AS IS without warranty of any kind. SolarWinds further
-- disclaims all warranties including, without limitation, any implied warranties
-- of merchantability or of fitness for a particular purpose. The risk arising
-- out of the use or performance of the scripts and documentation stays with you.
-- In no event shall SolarWinds or anyone else involved in the creation,
-- production, or delivery of the scripts be liable for any damages whatsoever
-- (including, without limitation, damages for loss of business profits, business
-- interruption, loss of business information, or other pecuniary loss) arising
-- out of the use of or inability to use the scripts or documentation.


winrm delete winrm/config/listener?Address=*+Transport=HTTPS