---
page_type: error
code: 31902
message: "31902: Stream - WebSocket - Connection Refused"
level: ERROR
product: Programmable Voice
---

## 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