Both floofs above have pretty much summed up the various ways you can solve your problem,
however, another good way of preventing the 'Failed to connect to front server' is to make sure that, while the login tab on your browser is open; open FeralHeart on top of the window and do not minimise it. Of course, sometimes this isn't necessary but I find it usually makes the logging in process faster/easier.
Hope you can start playing the game soon floof!