We used sample code
https://github.com/Refinitiv/websocket-api/blob/master/Applications/Examples/python/market_price.py
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
WebSocket Closed
On the other hand if we use port=14002, remote machine won't refuse the connection, but will close the connection immediately.