retrieve WebSocket port