Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
Also, the command in the answer to the question "I ran this command" (using the --nginx plugin) is not resembled in the screenshot of the output you've shown (standalone authenticator plugin).
If you're running nginx and running certbot standalone mode then nginx will likely be comsuming port 80, so certbot won't be able to host it's own http listener on port 80 as well. Try stopping nginx if you want to use the standalone certbot mode.
I understand the conflict but on linux systems we see an error about standalone not binding to port 80 if in use. We saw no error in post #1 yet stopping nginx succeeded.
Is the lack of error message due to Windows port sharing or is something else happening here? Thanks
Such as:
Plugins selected: Authenticator standalone, Installer None
Requesting a certificate for test4.example.com
Performing the following challenges:
http-01 challenge for test4.example.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Could not bind TCP port 80 because it is already in use by another process on
this system (such as a web server). Please stop the program in question and then
try again.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(R)etry/(C)ancel:
Good question, with IIS running (so http.sys is using port 80), running as administrator on Win 11 I get Problem binding to port 80: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions - perhaps this is different (or not detected) when using apache or nginx on windows.
Yes I can confirm that running nginx on port 80 on windows uses the port but certbot doesn't recognise that it can't allocate the port for itself. If you run IIS on port 80 however, you get the expected Problem binding to port 80 error.