When a user self-answers with a solution that works for them, but you can't get it to work for you, this can mean one of a number of things:
- The poster is lying through their teeth.
- The poster's answer works for them because of critical information they have access to that they've withheld from their question (and, therefore, you).
- They messed up, resulting in a misleading answer that if they attempted to reproduce, would fail.
- They didn't mess up; you did. Make doubly sure you're reproducing the problem and solution correctly. It goes both ways.
If the problem was transient and neither the question nor the answer is going to be useful to anyone else, vote to close the question accordingly, and forget about it. Whether the answer is correct or wrong according to anyone is irrelevant.
If this is a more typical question, vote to close the question as not reproducible + requires MCVE, or unclear, or some other appropriate reason. Most likely, the question is missing critical information required to answer it correctly — this information needs to be in the question.
If you are sure that the self-posted solution cannot possibly work for anyone including the user themself no matter the circumstances, feel free to downvote their answer and leave a comment or post an answer debunking it.