Blazor Server アプリは、インターネット上へ公開しての運用のみならず、下記「Blazor serverをラズパイに入れてFAしたい」の記事のように、Blazor Server プログラム (これはつまるところ、コンソールアプリです) をそのまま、内蔵の Kestrel で稼働させる使い方もあります。 さて、一般的な造りの Blazor Server プログラムの場合、"dotnet publish" コマンドなどで発行したプログラムファイルを実行すると、ローカルループバックアドレスの TCP 5000 番および 5001 番 (それぞれ HTTP、HTTPS) で待ち受けするのが既定の動作です。 この既定の動作のままですと、いわゆる "外部" からの HTTP 要求に、この Blazor Server アプリケーションは返答してくれません。 外部からの接続も受け付けるようにする