Realtime Data Update with NodeJS and WebSockets

URL in server action is not allowed, still i tried this by creating a new api using url the fetching values from customer portal, but fails. Any one in wappler community have any solutions please help.