ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    WSUS - Server 2012 R2

    IT Discussion
    microsoft wsus error windows server 2012 r2
    9
    76
    6.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DustinB3403D
      DustinB3403
      last edited by

      The WSUS administration console was unable to connect to the WSUS Server via the remote API. 
      
      Verify that the Update Services service, IIS and SQL are running on the server. If the problem persists, try restarting IIS, SQL, and the Update Services Service.
      
      The WSUS administration console was unable to connect to the WSUS Server via the remote API. 
      
      Verify that the Update Services service, IIS and SQL are running on the server. If the problem persists, try restarting IIS, SQL, and the Update Services Service.
      
      System.Net.Sockets.SocketException -- No connection could be made because the target machine actively refused it serverip:8530
      
      Source
      System
      
      Stack Trace:
         at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
      ** this exception was nested inside of the following exception **
      
      
      System.Net.WebException -- Unable to connect to the remote server
      
      Source
      Microsoft.UpdateServices.Administration
      
      Stack Trace:
         at Microsoft.UpdateServices.Administration.AdminProxy.CreateUpdateServer(Object[] args)
         at Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.GetUpdateServer(PersistedServerSettings settings)
         at Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.ConnectToServer()
         at Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.get_ServerTools()
      
      1 Reply Last reply Reply Quote 0
      • wrx7mW
        wrx7m
        last edited by

        I have seen that error or something similar from my workstation. It required deleting the cache for the mmc snapin.

        1 Reply Last reply Reply Quote 1
        • DustinB3403D
          DustinB3403
          last edited by

          Based on this my guess would be the firewall is block connections locally. . . .

          wrx7mW 1 Reply Last reply Reply Quote 1
          • DashrenderD
            Dashrender
            last edited by

            Is the error when you run this from the console, or from RSAT tools from another machine?

            DustinB3403D 1 Reply Last reply Reply Quote 0
            • wrx7mW
              wrx7m @DustinB3403
              last edited by

              @dustinb3403 said in WSUS - Server 2012 R2:

              Based on this my guess would be the firewall is block connections locally. . . .

              I agree. I would definitely disable the firewall to see if it resolves it.

              1 Reply Last reply Reply Quote 0
              • DustinB3403D
                DustinB3403 @Dashrender
                last edited by

                @dashrender said in WSUS - Server 2012 R2:

                Is the error when you run this from the console, or from RSAT tools from another machine?

                Using the local console via RDP. Can't open WSUS and have it connect.

                1 Reply Last reply Reply Quote 0
                • DustinB3403D
                  DustinB3403
                  last edited by

                  Yet this is saying the firewall isn't the issue. . .0_1516301866726_RDCMan_2018-01-18_13-57-31.png

                  And the firewall has exceptions for the WSUS ports. . .

                  1 Reply Last reply Reply Quote 0
                  • DustinB3403D
                    DustinB3403
                    last edited by

                    I could delete the file at %appdata%\Microsoft\MMC called "wsus" but I don't know if that is actually the issue.

                    wrx7mW 1 Reply Last reply Reply Quote 0
                    • wrx7mW
                      wrx7m @DustinB3403
                      last edited by wrx7m

                      @dustinb3403 - If it isn't, the only problem is that you will have to recreate your custom update views, if you have any. So it won't hurt to try

                      Edit: These are what I am referring to -
                      0_1516302128581_1476bff8-37f9-4c5c-b8e6-302a200aa60f-image.png

                      DustinB3403D 1 Reply Last reply Reply Quote 0
                      • DustinB3403D
                        DustinB3403 @wrx7m
                        last edited by

                        @wrx7m said in WSUS - Server 2012 R2:

                        @dustinb3403 - If it isn't, the only problem is that you will have to recreate your custom update views, if you have any. So it won't hurt to try

                        Edit: These are what I am referring to -
                        0_1516302128581_1476bff8-37f9-4c5c-b8e6-302a200aa60f-image.png

                        Nope, removing the file simply removed the connection with MMC so now I don't even see the WSUS server (from which I'm running MMC and WSUS)

                        And I can't connect to the WSUS from MMC on this WSUS server. . . .

                        1 Reply Last reply Reply Quote 0
                        • DustinB3403D
                          DustinB3403
                          last edited by

                          Not that I saw the server, but I saw the server and had the error in the OP.

                          1 Reply Last reply Reply Quote 0
                          • DustinB3403D
                            DustinB3403
                            last edited by

                            Restoring the file gets me back to the error in the OP.

                            1 Reply Last reply Reply Quote 0
                            • DashrenderD
                              Dashrender
                              last edited by

                              Open MMC, File Add/Remove Snap-in > update services..

                              Now you've created a new one.

                              DustinB3403D 1 Reply Last reply Reply Quote 0
                              • DustinB3403D
                                DustinB3403 @Dashrender
                                last edited by

                                @dashrender said in WSUS - Server 2012 R2:

                                Open MMC, File Add/Remove Snap-in > update services..

                                Now you've created a new one.

                                That works, but im still unable to connect to the WSUS server (localhost, or ip or by fqdn)

                                1 Reply Last reply Reply Quote 0
                                • DashrenderD
                                  Dashrender
                                  last edited by

                                  anything in the event log?

                                  DustinB3403D 1 Reply Last reply Reply Quote 0
                                  • crustachioC
                                    crustachio
                                    last edited by

                                    What is the status of the actual Windows Firewall service?

                                    DustinB3403D 1 Reply Last reply Reply Quote 0
                                    • DustinB3403D
                                      DustinB3403 @Dashrender
                                      last edited by

                                      @dashrender said in WSUS - Server 2012 R2:

                                      anything in the event log?

                                      Try restarting IIS, SQL and update services

                                      Which I've done and the error above in the code block.

                                      1 Reply Last reply Reply Quote 0
                                      • DustinB3403D
                                        DustinB3403 @crustachio
                                        last edited by

                                        @crustachio said in WSUS - Server 2012 R2:

                                        What is the status of the actual Windows Firewall service?

                                        Running

                                        crustachioC 1 Reply Last reply Reply Quote 0
                                        • crustachioC
                                          crustachio @DustinB3403
                                          last edited by

                                          @dustinb3403 Try stopping it 😉

                                          DustinB3403D 1 Reply Last reply Reply Quote 0
                                          • DustinB3403D
                                            DustinB3403 @crustachio
                                            last edited by

                                            @crustachio said in WSUS - Server 2012 R2:

                                            @dustinb3403 Try stopping it 😉

                                            Same issue

                                            wrx7mW 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 1 / 4
                                            • First post
                                              Last post