I was recently starting a Phoenix server with port 0 which tells the OS to find a free local port but wanted to know what port it had chosen.
It turns out you can query the ranch config by the module name of your Phoenix Endpoint to get this information:
I’m probably very late to the party but I discovered today that if you’re tweeting a link, twitter will display it differently if you put it at the end rather than the beginning or middle of the tweet.
Here’s an example where I posted it at the beginning
And here’s one at the end