# 31902: Stream - WebSocket - Connection Refused

Log Type: APPLICATION

Log Level: ERROR

## Description

The WebSocket connection request sent by the stream is refused by the server host

### Possible causes

* The stream is trying to connect the wrong port
* The WebSocket server is down
* The connection is rejected by the server, for example, due to a transient failure

### Possible solutions

* Verify the TwiML URL is correct
* Verify server process is up and running
* Retry the connection later
