Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
displaying-musicalenvironment-content [2024/03/20 18:31] – steve.wang | displaying-musicalenvironment-content [2024/03/20 18:35] (current) – [Changing WebSocketServer Port] steve.wang | ||
---|---|---|---|
Line 47: | Line 47: | ||
Use the function called changeWebsocketServerPort like so: | Use the function called changeWebsocketServerPort like so: | ||
<code javascript> | <code javascript> | ||
+ | //assign the webscoket server to a variable: | ||
+ | K.wss = K.connectVariableToCurrentWss() | ||
+ | |||
+ | //Change the port: | ||
K.wss = K.changeWebsocketServerPort(8081, | K.wss = K.changeWebsocketServerPort(8081, | ||
</ | </ |