Website is down showing 522 error other sites on same server are up

First of all, make sure you follow the advice on the community tip:

Which things have you checked? When you say the new IP wasn’t working, what error did you see?