Socketio not working properly

I get 522 error on socketio, hence notifications do not update in realtime, is there a way to resolve this error?

This is probably a firewall problem - check which ports are blocked and if they coincide with any of the required/used ERPNext process ports