Tutorial 15: Node.js common Error 3: Connection lost: The server closed the connection.
This error arises when you are trying to listen some other socket. it may be a external TCPSocket or it may be the connection to database server.
The connection is closed from other side a you are still trying to read data from it. In most cases it happens when you use halfOpen:true
You should be able to pinpoint the location of error with the help of above lines
The connection is closed from other side a you are still trying to read data from it. In most cases it happens when you use halfOpen:true
You should be able to pinpoint the location of error with the help of above lines
Comments
Post a Comment