+ Post New Thread
Results 1 to 7 of 7
Enterprise Software Thread, Exchange 2010 can't connect to EMC or EMS in Technical; So I've started to add an Exchange 2010 box to the ageing Exchange 2003 system. So far I've installed CAS ...
  1. #1
    Jobos's Avatar
    Join Date
    Apr 2007
    Posts
    1,153
    Thank Post
    184
    Thanked 52 Times in 45 Posts
    Rep Power
    26

    Exchange 2010 can't connect to EMC or EMS

    So I've started to add an Exchange 2010 box to the ageing Exchange 2003 system. So far I've installed CAS which went smoothly enough with no errors to report but when I try to open EMS I get the error
    The connection to the specified remote host was refused. Verify that the WS-Management service is running on the remote host and configured to listen for requests on the correct port and HTTP URL
    I've looked at Error message when you try to start Exchange Management Shell (EMS) or Exchange Management Console (EMC): "The connection to the specified remote host was refused" which says to check that the MSExchangePowerShellAppPool has started which it had. I can't check the user is powershell enabled as I can't start EMS but I would have thought any admin account would already be powershell enabled anyway. That just leaves WinRM which shows it has started and listening on the correct IP and port.

    I've run the EMTshooter Resolving WinRM errors and Exchange 2010 Management tools startup failures - Exchange Team Blog - Site Home - TechNet Blogs


    Checking IIS Service...

    Checking the Exchange Install Path variable...

    Checking the Powershell Virtual Directory...

    Checking the Powershell vdir SSL setting...

    Checking the Powershell vdir path setting...

    Checking HTTP Port 80...

    Checking HTTP Port 80 Host Name...

    Testing for errors...

    VERBOSE: Connecting to servername.domain.leicester.sch.uk


    new-pssession : [servername.domain.leicester.sch.uk] Connecting to remote server servername.domain..leice
    At \\server\software$\AdminTools\Exchange\EMTshooter\ EMTConnectFunctions.ps1:177 char:15
    + $session = new-pssession -connectionURI "http://$fqdn/powershell?serializatio ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotingT
    + FullyQualifiedErrorId : CannotConnectWinRMService,PSSessionOpenFailed
    The Exchange Management Troubleshooter successfully completed connecting to:

    servername.domain.leicester.sch.uk

    Failed to connect to any Exchange Server in the current site.

    Problem found:

    Looking for error...

    Unknown Error

    After each error is resolved, close this window and re-run the tool to check for additional problems.
    Any ideas?

  2. #2
    bart21's Avatar
    Join Date
    Aug 2009
    Location
    peterborough
    Posts
    405
    Thank Post
    79
    Thanked 54 Times in 52 Posts
    Rep Power
    20
    In IIS ensure the binding for the default website is set to all unassigned for its ip binding. Try it and it should work.

  3. #3
    Jobos's Avatar
    Join Date
    Apr 2007
    Posts
    1,153
    Thank Post
    184
    Thanked 52 Times in 45 Posts
    Rep Power
    26
    Thanks, I'm back there Tuesday so I'll check then.

  4. #4
    Jobos's Avatar
    Join Date
    Apr 2007
    Posts
    1,153
    Thank Post
    184
    Thanked 52 Times in 45 Posts
    Rep Power
    26
    Quote Originally Posted by bart21 View Post
    In IIS ensure the binding for the default website is set to all unassigned for its ip binding. Try it and it should work.
    Just checked and this what I found. Is it correct?

    Exchange bindings.JPG

    Thanks.

  5. #5
    bart21's Avatar
    Join Date
    Aug 2009
    Location
    peterborough
    Posts
    405
    Thank Post
    79
    Thanked 54 Times in 52 Posts
    Rep Power
    20
    Can u change that to say * or all unassigned for all of them?

  6. #6
    Jobos's Avatar
    Join Date
    Apr 2007
    Posts
    1,153
    Thank Post
    184
    Thanked 52 Times in 45 Posts
    Rep Power
    26
    Quote Originally Posted by bart21 View Post
    Can u change that to say * or all unassigned for all of them?
    Yes I changed the bindings for * on ports 80 and 443 but it still gave the same error so I added the bindings for 127.0.0.1 and the server IP for both 80 and 443 ports but again the error remained.

    It's probably not connected but when I ping the server from itself I get an IPv6 address and not the IPv4 address.

  7. #7
    Jobos's Avatar
    Join Date
    Apr 2007
    Posts
    1,153
    Thank Post
    184
    Thanked 52 Times in 45 Posts
    Rep Power
    26

    Exchange 2010 can't connect to EMC or EMS - SOLVED!

    Been busy of late so not had time to spend on this problem but this week was slack so did more digging and finally sorted it. Why there wasn't anything in the logs is beyond me and would have saved a lot of time, but in the end all I had to do was change the machine proxy setting, simple really. Normally I set the machine proxy to bypass the subnet and local host so something like

    Code:
    netsh winhttp set proxy proxy-server="webshield.embc.uk.com:80" bypass-list="<local subnet>;<local>"
    But what I needed was

    Code:
    netsh winhttp set proxy proxy-server="webshield.embc.uk.com:80" bypass-list="<local subnet>;<domain>;<local>"
    My other school just has the local subnet in the bypass list and Exchange 2010 works just fine so perhapps it's something to do with Server 2012

    Configuring the new box is going well apart from a small problem with the offline address book which I'm struggling with and as my power shell is limited I expect I'm going to need help with that one

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 1
    Last Post: 13th July 2013, 06:53 AM
  2. Outlook 2010 is not connecting to exchange 2010
    By tushan in forum Enterprise Software
    Replies: 12
    Last Post: 6th March 2013, 05:11 PM
  3. Can't Connect to the domain
    By spider6986 in forum Windows
    Replies: 6
    Last Post: 19th October 2009, 03:10 PM
  4. [MS Office - 2003] Outlook - User can not connect to exchange server
    By Tony_Mc in forum Office Software
    Replies: 2
    Last Post: 26th January 2009, 02:38 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •