Check if dedicated server running

Hi guys, so Im building my game with dedicated server. How do I check if dedicated server running(check on client), so that I could throw an error to user if dedicated server is not running and ask him to start it?

If you want the client to check if a dedicated server is running on another machine, this will be down to your OSS to provide a way (or some kind of custom heartbeat system).

This is something you would have to implement yourself.

Would it be correct to check in level blueprint if server runs, and then either connect to server map or just quit the game or there is better, “correct” way of doing this?

The GameInstance class provides an event on NetworkError, which should be triggered if you attempt to connect to an IP and it fails. Maybe that could help.