Though both private and closed Discord servers need an invite link, the way such a link is used differs. On a private server, someone should send you the link before you can enter. On a closed server, however, you will request an invite before you can join that particular server.