Nov 23, 2010 at 8:41 PM
Edited Nov 23, 2010 at 8:44 PM
Are you setting the location/origin right when instantiating the server?
var nugget = new WebSocketServer(8181, "null", "ws://localhost:8181");
here 8181 is the port the server is running on, nullis the origin to allow connections from (nullmeans the file system) and ws://localhost:8181 is the location (the place the server i running).
You will probably need something like:
var nugget = new WebSocketServer(80, "http://localhost:50596", "ws://localhost:80");
if you are running the server on port 80 and the web app on port 50596
try to take a look at the web app fork: https://hg01.codeplex.com/forks/mdroz8/webchat Its a little dated, but maybe it can help?