Skip to content

update WebSocket port#470

Open
B14ckP4nd4 wants to merge 1 commit into
ccxt:masterfrom
B14ckP4nd4:patch-2
Open

update WebSocket port#470
B14ckP4nd4 wants to merge 1 commit into
ccxt:masterfrom
B14ckP4nd4:patch-2

Conversation

@B14ckP4nd4

Copy link
Copy Markdown

based on Binance API Documentation - WebSocket Section the Websocket port for stream prices is "9443" but it's outdated and the current port is 443.
I tested the WebSocket repeatedly and port 9443 didn't work with this package

based on [Binance API Documentation - WebSocket Section](https://binance-docs.github.io/apidocs/spot/en/#websocket-market-streams) the Websocket port for stream prices is "9443" but it's outdated and the current port is 443.
I tested the WebSocket repeatedly and port 9443 didn't work with this package
@sajaddp

sajaddp commented Jun 17, 2026

Copy link
Copy Markdown

According to the official Binance Spot WebSocket Streams documentation, both endpoints are valid:

The base endpoint is: wss://stream.binance.com:9443 or wss://stream.binance.com:443.

Source: https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams

So wss://stream.binance.com:9443 is still documented by Binance, while wss://stream.binance.com:443 can be used as an alternative, especially in environments where port 9443 is blocked.

@frosty00

Copy link
Copy Markdown
Member

hmm, i think this was to do with a different subscription format, need to test it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants