To effect a redirect, you send a redirect status (301 for permanent redirect, 302 for a “this currently lives on …” redirect, and 307 for an intentional temporary redirect):
response.writeHead(301, {
Location: `http://whateverhostthiswillbe:8675/${newRoom}`
}).end();