After running a netstat
command and discovering that a system service was listening at port 80, I checked through the Internet and found this solution:
Port 80 is being used by SYSTEM (PID 4), what is that?
I ran
sc stop w3svc
then
sc config w3svc start= disabled
but the sc config w3svc start= disabled
command returned this error
Set-Content : A position parameter cannot be found that accepts argument 'start='.
Basically, it is an invalid argument but almost every solution I have seen on this platform is suggesting this exact command line for stopping and disabling the service.
Can anyone help because I don't want to disable the whole HTTP service from the registry, I wouldn't mind being guided on how to probably bind this service to another port because I need another application that needs to use this port 80.