Not sure what you mean by
Quote:
when trying to connect to another client uri
but anyway, looking at the code you've got, I take it you've verified the server is running and a netstat -an | more shows 'something' listening on port 49350.
If so, then something on the server side is denying the connection due to perhaps authentication, or maybe the client isnt whitelisted - so the server returns a 404 because the 'handshake' fails