You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error:
Error: loading initial config: loading new config: http app module: start: listening on :80: listen tcp :80: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
Error: caddy process exited with error: exit status 1
Details:
Caddy used to work and now is throwing this error on my system. No edits or changes made to the caddyfile or Windows service.
Windows Service errors with: Windows not start the Caddy Server service on
Computer. Error 2: The system cannot find the file
I also got the similarly problem, my error infomation is Error: loading initial config: loading new config: starting caddy administration endpoint: listen tcp 127.0.0.1:2019: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
mybe it cause to the windows dynamic tcp port , you can change it , or let caddy admin port in other place, like this:
Ultimately I don't think there's anything for us to do here. Caddy is just trying to set up network listeners using the typical APIs. We're not Windows experts so we can't really suggest why the OS would decide to block it or not.
Make sure to check Windows Firewall rules, make sure to run as a user which has permission to bind to those ports, etc.
OS:
Windows 10 Pro
Error:
Error: loading initial config: loading new config: http app module: start: listening on :80: listen tcp :80: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
Error: caddy process exited with error: exit status 1
Details:
Caddy used to work and now is throwing this error on my system. No edits or changes made to the caddyfile or Windows service.
Windows Service errors with: Windows not start the Caddy Server service on
Computer. Error 2: The system cannot find the file
Caddyfile - Redacted.zip
The text was updated successfully, but these errors were encountered: