ポートフォワーディングとは?
ポートフォワーディングとは、特定のアドレスとポートに届いた接続を、別の宛先アドレスとポートへ転送する技法です。container の内部ポートをホスト上に公開したり、SSH 接続を通じてトラフィックをトンネリングしたり、gateway の背後にあるサービスへ到達したりするために使われます。フォワーダーは 2 つのエンドポイント間でデータを透過的に中継します。
なぜ重要か
CI は、container のポートをホストへ転送することで container 内のサービスを build に公開し、これがテストからサービスへ到達する仕組みです。フォワーディングの設定ミスは、サービスが動いているのに到達不能に見える一般的な原因です。
関連ガイド
What Is the Loopback Interface?The loopback interface is a virtual network device a host uses to talk to itself, routing traffic to the loca…
What Is the Ephemeral Port Range?The ephemeral port range is the band of port numbers the system temporarily assigns to the local side of outg…
What Is Connection Pool Exhaustion?Connection pool exhaustion happens when all reusable connections in a pool are in use, so new requests must w…