It's not possible to join private servers with invite links. Unlike public servers, private Discord servers require an invite for a user to join. Hence, someone from the inside should send this invite link to you for you to join that Discord server.