Hi! Welcome to the forum! I’m not sure what you’re talking about but one thing is sure – Infinityfree does not support Node.js. Node.js supports socket.io and you can use it either as a server, as a client, or both. You cannot just host any web socket server in Infinityfree regardless of the programming language being used. You’ll need an external server/service/platform for that matter. Your website can only act as a client for the external websocket server, and not the other way around.
References: