Skip navigation

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

A. The default HTTPS port is 443. You can change ports by adding the registry value ListenPort to the registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\PeerDist\HostedCache\Connection. 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=<hostedcache>
net stop peerdistsvc
net start peerdistsvc

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish