Q. How can I change the port that the BranchCache retrieval protocol uses?

John Savill

December 23, 2010

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

A. The default HTTP port (80) can be changed by adding the value ConnectPort to the registry key HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionPeerDistDownloadManagerPeersConnection. This registry key needs to be added on the hosted cache server and all clients. Once you make the change, open an elevated command prompt and run the commands

netsh branchcache set service hostedserver
net stop peerdistsvc
net start peerdistsvc

For the clients to detect the new port, you need to run the following 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