Error Code Portal
Node.jsNode.jsError code

ERR_SOCKET_HANDLE_ADOPTED

socket handle adopted

Code ERR_SOCKET_HANDLE_ADOPTED · An issue reported by Node.js.

An operation was attempted on a BoundSocket that had already been adopted by a net.Server or net.Socket, or transferred to another thread. Once a bound socket is adopted or transferred, its address() and close() methods can no longer be used.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.