I need the listening IP+port pairs to be able to forward them through a NAT implementation. However, barring a request (which is when HttpContext becomes accessible), I'm not seeing an easy way of getting access to this information.
I noted that someone else had the same question on Determine port in asp.net core, but that went unanswered.
Anyone have a clue stick to hit me with? Thanks!