On 03/10/2026 17:01, Markus KARG wrote:
Dear Core Devs,

for server administrators it is really annoying that binding to an already bound address is throwing an exception without telling the actual address. For products binding to many addressing, it is tedious to check all the addresses.

I was asked several times why we don't contain the address in the BindException, so it will show up in a log.

So I would like to contribute a small change which does exactly that: make BindException tell the failing address.

Are you find with me opening a JBS and PR, or is there a good reason why BindException does not tell the failing address?

Can you bring this to net-dev to discuss as the issue of these exceptions revealing information and the security configuration to enable enhanced exceptions has been discussed there a few times.

-Alan

Reply via email to