You know the phrase - there's no such thing as a stupid question....
I know how to spell websickets but that's about as far as it goes but I've managed to get a Scratch extension to connect to a websocket listener (if thats the right terminology) running on Node-RED
JS code in my Scratch3 extension
Can I use a different socket from 1880?
Is so - whats the the syntax/config to change it to using port 9000?