What to do when the http server goes down, restart? That's right, but what to do when you're inconvenient to operate the server
It is difficult to communicate with the boss, so I wrote a small program to monitor http status in java.
Monitor the status of http web pages, when the status is less than 200
Automatically restart the http server.