0
I want to use ports 80 and 443 for Apache server but they are reserved for a windows service as shown by netsh http show urlacl
see output here
Firewall inbound rules show that BranchCache Hosted Cache Server is using ports 80 and 443 see screenshot here
I managed to change the port for BranchCache Content Retrieval from port 80 using this powershell script
I do not want to change the ports for Apache. How can I change the port for BranchCache Hosted Cache Server?
Disable-WSSBranchCache : The term 'Disable-WSSBranchCache' is not recognized as the name of a cmdlet, function, script...
– Drk – 2019-11-16T15:27:33.223How did you install BranchCache? – harrymc – 2019-11-16T15:28:56.950
The powershell cmd:
get-bcstatus
shows that BranchCache is disabled – Drk – 2019-11-16T15:30:32.193BranchCache came installed with windows 10. Although disabled, it has reserved ports 80 and 443 – Drk – 2019-11-16T15:32:23.373
It comes with Windows but is normally inactive and doesn't use any ports. Start the Services applet and see if the BranchCache service is running. In any case, you may double-click its entry and set Startup type to Disabled, just to be sure. It should then not present any difficulty for Apache. You also need to assure that IIS is not enabled in "Turn Windows features on or off". – harrymc – 2019-11-16T15:39:48.343
IIS is disabled and I have changed the startup type for BranchCache from manual to disabled but Apache isn't repsonding.
netsh http show urlacl
still shows that the ports are reserved – Drk – 2019-11-16T15:55:07.623Reserved by what, is the question. Try using
netstat -ano | findstr :80
to identify the listening process. – harrymc – 2019-11-16T16:11:35.157UDP [fe80::11b0:b5ba:17a7:8083%17]:1900 *:* 5744
andUDP [fe80::11b0:b5ba:17a7:8083%17]:65106 *:* 5744
– Drk – 2019-11-16T17:21:29.153Firewall inbound rules clearly show it branch cache using the ports – Drk – 2019-11-16T17:23:27.340
In Task Manager, which process-id is 5744? – harrymc – 2019-11-16T17:24:10.523