Web server refuse to connect

I have problem with my homeassistant that runing on rp3, after some time and after reset (not always), when i try to connect to web UI http://rp3address:8123 i get response that address refuse to connect. I get this response like 3 times in a week. Only that is work is clean install and then set up from begin.

What can i do to solve this problem?