That's weird, I don't use Webstorm so it's hard for me to test it out. My guess is that the process after the sleep is still open in the background. Have you try changing the port used ? If that help, my guess is probably right. The solution would be to look on the process open after you wake up the computer