Freigeben über


Changing Port Numbers in Microsoft CRM

No I am not writing about the Dubai buying a bunch of US Ports… But let’s just say you installed CRM without REALLY reading all of the install screens. And then after the fact you wanted to run https://crm instead of https://crm:5555 So how do you do this?

1) Start the IIS Manager.

2) Right Click on the CRM Site.

3) Select Properties

4) Under WEB Site TAB, click on Advance Button.

5) Select Default and click on Edit.

6) Change the TCP Port number to the desired port Number. Click OK, close IIS Manager.

7) Run IISRESET command.

8) Open Regedit.

9) Goto HKey_Local_Machine=>Software=>Microsoft=>MSCRM

10) Right click SERVERUrl on right side, select modify.

11) Change the old port number to new port number.

12) Close Regedit.

You now also need to modify any clients you have to point to the new port number. (Look for a registry setting on the client in the same place. J) 

Thanks to Prashanth from the Tele PTS Team for the cool answer. (There is a whole other post in the works on how to use that team… Those guys rock for CRM pre-sales questions.) Menno was gracious enough to provide the screen shot as I was too lazy to fire up CRM to get the one above.

This post contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 (https://support.microsoft.com/kb/256986/) Description of the Microsoft Windows Registry

CRMinReg.JPG

Comments

  • Anonymous
    March 07, 2006
    stealer!

  • Anonymous
    March 08, 2006
    Ben has taken time to document the method to change the port number of the CRM website after installation. ...

  • Anonymous
    March 08, 2006
    Ben has taken time to document the method to change the port number...

  • Anonymous
    March 08, 2006
    I haven't had to do this yet, but I am sure I will have to at some point. We're working on a test deployment of CRM right now, and from what I can see, it is going to be pretty nice.

    http://blogs.msdn.com/midatlanticcrm/archive/2006/03/08/Changing_Por

  • Anonymous
    June 06, 2007
    Thanks SO MUCH! We were going in circles over here and then I found this article which fixed the problem. We had missed the part about making the changes in the registry. You really made my day... CM Bus Sys Analyst Nanometrics

  • Anonymous
    June 10, 2007
    Cindy, Glad it could help. Hope the rest of your deployment goes well! Ben

  • Anonymous
    July 02, 2007
    Ben,i was woundering, do you apply any changes to the SQL Reporting Services in case you change the CRM port number??

  • Anonymous
    August 06, 2007
    After I changed the port on IIS and edited the registry,  I found out that I couldn't access the user manager on the deployment manager tool.  I don't know if that caused the problem but that's the only thing I changed and now I can't add/remove users with the deployment manager. I'm re-installing it.