> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hoppscotch.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Websocket

> Connect to a WebSocket server in Hoppscotch, send and receive real-time messages, and troubleshoot common connection issues step by step.

Enter your WebSocket "**URL**", valid protocols, and click on "**Connect**".

You can also disconnect from the WebSocket by clicking on the "**Disconnect**" button.

## Sending messages

Write your message in the "**Message**" input field under the "**Communication**" tab and click on the "**Send**" button. The message you send will be displayed on the "**Logs**" pane.

## Troubleshooting

1. Make sure you enter a valid WebSocket URL, they always start with the protocol format `ws://`.
2. Do not add invalid/blank protocol before you connect to a WebSocket.
