We used sample code
to test websocket connection to TREP machine (where we changed the hostname,user to fit our in-house configurations, we still keep port=15000 and app_id=256 intact). However we received the error message
[WinError 10061] No connection could be made because the target machine actively refused it
On the other hand if we use port=14002, remote machine won't refuse the connection, but will close the connection immediately.