Answered by:
Change CRM port?

Question
-
We installed Microsoft CRM on a server with the port 5555, but now we want to change it to something else like 8000. Do we need to make any other changes other then IIS? I can log onto it inside and outside the network after changing it.Wednesday, June 9, 2010 7:09 PM
Answers
-
Hi,
please see http://support.microsoft.com/kb/947423 which describes all necessary steps.
- Proposed as answer by ckeller Wednesday, June 9, 2010 7:29 PM
- Marked as answer by Jim Glass Jr Thursday, June 10, 2010 7:25 PM
Wednesday, June 9, 2010 7:29 PM
All replies
-
Hi,
please see http://support.microsoft.com/kb/947423 which describes all necessary steps.
- Proposed as answer by ckeller Wednesday, June 9, 2010 7:29 PM
- Marked as answer by Jim Glass Jr Thursday, June 10, 2010 7:25 PM
Wednesday, June 9, 2010 7:29 PM -
Yeah, I just found that article, but thank you.Wednesday, June 9, 2010 10:34 PM
-
Is there any information on changing the port for CRM 2011?
Pat
Pat BFriday, April 8, 2011 4:03 PM -
Hi Pat,
Not sure how credible the following article is, but it explains what you intend to do for CRM 2011.
http://www.ryanonrails.com/2011/02/25/changing-the-crm-server-port/
Cheers, Edwin Follow me on http://twitter.com/astutecrmSunday, April 10, 2011 10:18 AM -
Edwin, thanks for the article. I did see that article and I wish it was that simple. We ended up doing the following:
- Change the port on the IIS Web site
- Change the port in the registry key HKEY_LOCAL_MACHINE --> SOFTWARE --> Microsoft --> MSCRM --> ServerURL
- Change the port in Deployment Manager in the properties of Microsoft Dynamics CRM
- Restarted the server
- And because none of the above complete fixed the links in the site (help still went to old port), we had to do a repair of the CRM installation from the install.
So far it appears that it is now working correctly and completely on the new port.
Pat B- Edited by Pat B Monday, April 11, 2011 12:22 PM Fixed spelling of Edwin's name
Monday, April 11, 2011 11:27 AM -
Glad it worked! Thanks...
Cheers, Edwin Follow me on http://twitter.com/astutecrmMonday, April 11, 2011 11:50 AM -
I have just done this and I dident need to re-run the setup.
Run this script then change bindings in IIS (You could use the psaddin for iis :) )
$serverandport = "VSDEV01:82"
if ( (Get-PSSnapin -Name Microsoft.Crm.PowerShell -ErrorAction SilentlyContinue) -eq $null )
{
Add-PSSnapin Microsoft.Crm.PowerShell
}
# HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM\
$WebAddressSetting$WebAddressSetting = Get-CrmSetting -SettingType WebAddressSettings
$rootUrl = $WebAddressSetting.RootDomainScheme.ToString() + "://" + $serverandport + "/"
$regValue = $rootUrl + "MSCRMServices"
$WebAddressSetting.DeploymentSdkRootDomain = $serverandport
$WebAddressSetting.DiscoveryRootDomain = $serverandport
$WebAddressSetting.SdkRootDomain = $serverandport
$WebAddressSetting.WebAppRootDomain = $serverandport$WebAddressSetting.HelpServerUrl = $rootUrl
$WebAddressSetting
Set-CrmSetting -Setting $WebAddressSetting$RegKey ="HKLM:\\SOFTWARE\Microsoft\MSCRM"
set-ItemProperty -path $RegKey -name ServerUrl -value $regValue- Proposed as answer by Steve.Drake Thursday, February 23, 2012 12:51 PM
Thursday, February 23, 2012 12:51 PM