vnc.js icon indicating copy to clipboard operation
vnc.js copied to clipboard

getting error

Open ZaidQureshi opened this issue 11 years ago • 3 comments

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.

ZaidQureshi avatar Apr 19 '13 01:04 ZaidQureshi

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 .

bgaff avatar Apr 19 '13 08:04 bgaff

my vncserver is on 5900, i m running my node app on 1024

ZaidQureshi avatar Apr 19 '13 13:04 ZaidQureshi

Lots of efforts are required to run it.I always get error "The connection has closed :(".Please suggest.

vishal121212121212112 avatar Feb 05 '16 11:02 vishal121212121212112