I have 2 projects, server and client.
The server works without problems, it loads and in debug it says it's running and message handlers are registered. also I've checked the work in background to true (same for client). But the problem is with the client, When it tried to connect it seems to fail so, the on connect event is never fired, and some errors show in debug console:
Can't connect to server on local host... err=6
The server works without problems, it loads and in debug it says it's running and message handlers are registered. also I've checked the work in background to true (same for client). But the problem is with the client, When it tried to connect it seems to fail so, the on connect event is never fired, and some errors show in debug console: