I have a server running on a local server. Every once in a while it will freeze up, and I'll need to use a Ctrl+Z to cancel out of it. The issue is that the port it uses is still open to it after I force close it, and it can't reclaim that port when I restart the program. So then I need to restart the entire server.
Is there a way I could force that port closed, so the service could open it when it starts back up, or maybe refresh all the ports?