这是我的Caddyfile:
localhost:8090
# log log/access.log
# tls sec/cert.pem sec/key.pem
以下是我正在try 运行的一款Golang应用程序:
% caddy run
2023/06/06 03:55:25.997 INFO using adjacent Caddyfile
2023/06/06 03:55:25.999 INFO admin admin endpoint started {"address": "localhost:2019", "enforce_origin": false, "origins": ["//localhost:2019", "//[::1]:2019", "//127.0.0.1:2019"]}
2023/06/06 03:55:26.000 INFO tls.cache.maintenance started background certificate maintenance {"cache": "0xc000215c00"}
2023/06/06 03:55:26.000 INFO http enabling automatic HTTP->HTTPS redirects {"server_name": "srv0"}
2023/06/06 03:55:26.001 INFO tls cleaning storage unit {"description": "FileStorage:/home/me123/.local/share/caddy"}
2023/06/06 03:55:26.001 INFO tls finished cleaning storage units
2023/06/06 03:55:26.044 INFO pki.ca.local root certificate is already trusted by system {"path": "storage:pki/authorities/local/root.crt"}
2023/06/06 03:55:26.044 INFO http enabling HTTP/3 listener {"addr": ":8090"}
2023/06/06 03:55:26.044 INFO http.log server running {"name": "srv0", "protocols": ["h1", "h2", "h3"]}
2023/06/06 03:55:26.044 INFO tls.cache.maintenance stopped background certificate maintenance {"cache": "0xc000215c00"}
Error: loading initial config: loading new config: http app module: start: listening on :80: listen tcp :80: bind: permission denied
这与端口80有什么关系?我想在8090上运行它,为什么它不工作?