vnc.js
vnc.js copied to clipboard
getting error
So I can run the server, but when i go to the defualt address for the server, localhost:1024 I get the red box and it asks me to put the password in for the vnc server I am trying to connect to. But as soon I hit ok and the red box becomes bigger the client app crashes and I get the error : "events.js:71 throw arguments[1]; //Unhandled 'error' event Error: This socket is closed. at Socket._write (net.js 519:19) at Socket.write (net.js 511:15) at Socket.socket.on.sock_connected (.....\vnc.js-master\JSTCP\jstcp.js:57:13) ......." I don't even get a message in my log saying that there was a connection.
What port is your server listening on? it sounds like its not on 1024. Vnc by default uses 5900.
On Apr 18, 2013, at 6:37 PM, ZaidQureshi [email protected] wrote:
So I can run the server, but when i go to the defualt address for the server, localhost:1024 I get the red box and it asks me to put the password in for the vnc server I am trying to connect to. But as soon I hit ok and the red box becomes bigger the client app crashes and I get the error : "events.js:71 throw arguments[1]; //Unhandled 'error' event Error: This socket is closed. at Socket._write (net.js 519:19) at Socket.write (net.js 511:15) ...." I don't even get a message in my log saying that there was a connection.
— Reply to this email directly or view it on GitHubhttps://github.com/bgaff/vnc.js/issues/7 .
my vncserver is on 5900, i m running my node app on 1024
Lots of efforts are required to run it.I always get error "The connection has closed :(".Please suggest.