It should run a program on the console (I have Windows), and that program will list the localhost ports, but honestly it's all such a mess. I've posted a link to a rewritten version of the same game that runs in the browser fine.