switch query to websocket server port