certbotはポートをどのようにバインドしますか? TCPポート80はすでに他のプロセスで使用されているため、バインドできません。

certbotはポートをどのようにバインドしますか? TCPポート80はすでに他のプロセスで使用されているため、バインドできません。

80と443の両方を有効にしました。

sudo certbot certonly --standalone --agree-tos --no-eff-email --staple-ocsp --preferred-challenges http -m **@**.com -d mycomp.com
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Requesting a certificate for mycomp.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.

ディスプレイをデバッグしてみましょう。

ANotWorking
ERROR
mycomp.com has an A (IPv4) record (*.***.***.***) but a request to this address over port 80 did not succeed. Your web server must have at least one working IPv4 or IPv6 address.

ポート80に何が問題なのかわかりません。この問題をどのように解決しますか?

ベストアンサー1

エラーによると、ポート80は「このシステム(Webサーバーなど)の他のプロセスですでに使用されています。」 certbotが要求した場合、使用する既存のWebサーバーの代わりに独立して実行するように指示しました。

certbot --standalone実行中のWebサーバーを変更または停止します。

おすすめ記事