TaB: binding ports, Patron livestream
Hello and happy Monday! I hope your week is a good one.
Here's my post for the week: Binding port 0 to avoid port collisions. It's common to spin up a server in a test so that you can do full end-to-end requests of it. It's a very important sort of test, to make sure things work all together. And this is great, but you quickly run into a problem: port collisions! So... how do we fix that? You read the title, so you know where we're going, but let's go there together.
This week, I'll also be doing my first chat stream with my paid Patreon supporters! It'll be a chill little thing: at 9pm ET on Wednesday 2/25, I'll share my computer audio, play some music for us to listen to together (I have something fun in mind), and do a text chat with you all! If you want to participate, please join a paid tier of the Patreon before then.
I hope you have a great week! Stay kind to yourself. You'll hear from me again soon.
❤️ Nicole
It's common to spin up a server in a test so that you can do full end-to-end requests of it. It's a very important sort of test, to make sure things work all together. And this is great, but you quickly run into a problem: port collisions!
So... how do we fix that? You read the title, so you know where we're going, but let's go there together.
https://ntietz.com/blog/binding-ephemeral-port/