Cannot connect with anything but localhost.
In order to have some friends help me with my project, I need them to be able to log in. I am having trouble connecting to my websocket project from anything but localhost. I have a subdomain (playvtm.evils.in) pointed at my computer via dynamic DNS. My router has port 80 (http), and port 8181 (the websocket) forwarded to my PC. I have set up an apache virtual host for playvtm.evils.in. My friends are able to see the page with the terminal emulator I have set up, but the terminal will not connect to the websocket. My line of code to launch the app is:

$app = new Ratchet\App('localhost', 8181);

I have tried the above line with localhost, 192.168.2.2 (my local ip on the lan), 127.0.0.1, my internet IP supplied by my ISP, as well as 'playvtm.evils.in'. I have tried all of the above by themselves, as the following.

$allowedOrigins = array('playvtm.evils.in', 'localhost', '127.0.0.1', '192.168.2.2', '74.134.24.115');
$app = new Ratchet\App('playvtm.evils.in', 8181, $allowedOrigins);

Nothing seems to work. Any thoughts?
