I added my IP (like 188.8.131.52/255.255.255.0) to allow access for ssh, whm and cpanel in WHM -> Host Access Control. Then, I added all IP to deny access for them. However, after saved changes, I lost access all of them. Now, If I try to login WHM, I see that:
HTTP error 401
You do not have permission to access this page.
Also, I cannot access SSH. I don't know what to do. If I restart server, will the problem be solved?