WebSocket timeout issue on localhost

I’m having issues using the WebSockets module on a specific machine. I’ve noticed this issue with both using WebSockets directly, using the Stomp module, and trying to do PixelStreaming. It seems all of it comes down to the same issue with libwebsockets returning the LWS_CALLBACK_CLIENT_CONNECTION_ERROR reason in a callback. This specific error code has an optional string reason sometimes passed with the callback but that string is empty in my case.

I followed this WebSockets Tutorial and it works on one Windows machine but not the other. I can’t find anything about the WebSockets module or libwebsockets library requirements for a Windows environment so let me know if any specs would be helpful to diagnose.