Could you post the code following these instructions: How to post code on this forum it makes it a bit easier to read
And because the for loop never exits will waitForExitSignal() never be called. But this is not your problem. Try to connect to all interfaces on the server if you can with net.Listen(“tcp”, “:49156”)