Q. How can I change the port that the BranchCache hosted cache server listens on to receive content?

John Savill

December 22, 2010

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. The default HTTPS port is 443. You can change ports by adding the registry value ListenPort to the registry key HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionPeerDistHostedCacheConnection. This registry key needs to be added on the hosted cache server and all the clients. Once you make the change, open an elevated command prompt and run these commands:


netsh branchcache set service hostedserver
net stop peerdistsvc
net start peerdistsvc

To make them detect the new port, you need to run these commands on each client:


netsh branchcache set service hostedclient location=
 net stop peerdistsvc
 net start peerdistsvc

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like