# WebSocket WebSocket is a communication protocol for [full-duplex](/glossary/d/duplex) communication channels over a single [TCP](/glossary/t/tcp) connection. WebSocket connections allow for real-time data transfer where the the server sends content to the browser continuously without additional client requests. Messages can be sent to be passed back and forth while keeping the connection open, allowing for two-way communication between the client and the server. Webbsockets use [TCP](/glossary/t/tcp) to communicate over [ports](/glossary/p/port) 80 for [HTTP](/glossary/h/http) and 443 for [TLS](/glossary/t/tcp). ### More Information * [RFC 6455](https://tools.ietf.org/html/rfc6455)