Yes, the Tesla software also shows where chargers are available.
And if the only available charging port is beyond your remaining range?
You have no choice but to go to the one where people are lined up.