Change port number for the Search Server Central Admin URL

  • Updated

This article explains how to change the port number for the Search Server Central Administration URL.

To change the port number, use the Windows PowerShell.
 
1. On the Start menu, click All Programs.
2. Click Microsoft SharePoint 2010 Products.
3. Click SharePoint 2010 Management Shell.
4. At the Windows PowerShell command prompt, enter the following command: Set-SPCentralAdministration -Port
 
For example: Set-SPCentralAdministration -Port 1234

See also http://technet.microsoft.com/en-us/library/cc288247.aspx

Do not manually change the port number in IIS.  If you do, you see errors like "Please verify that your search server URL and port number are valid and try again."

And, in the EktonSearchHelperService log, you see this error:  "The Web application at http://EKTSQA21:2222 could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.  at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean contextSite, SPUserToken userToken)