# Default ports for Electrum

These ports represent different transport protocols (TCP, WebSocket, HTTP) for the same Electrum server. All provide access to identical functionality - the choice depends on your application's transport requirements.

By default, Rostrum listens to clients on the following ports. SSL/TLS support is built-in for TCP, WebSocket, and HTTP endpoints. SSL endpoints are enabled by default when certificate is configured.

| Protocol     | Bitcoin Cash  | Nexa  |
| ------------ | ------------- | ----- |
| Mainnet TCP  | 50001         | 20001 |
| Mainnet SSL  | 50002         | 20002 |
| Mainnet WS   | 50003         | 20003 |
| Mainnet WSS  | 50004         | 20004 |
| Mainnet HTTP | 51000         | 21000 |
| Mainnet HTTPS| 51001         | 21001 |
| Testnet TCP  | 60001         | 30001 |
| Testnet SSL  | 60002         | 30002 |
| Testnet WS   | 60003         | 30003 |
| Testnet WSS  | 60004         | 30004 |
| Testnet HTTP | 61000         | 31000 |
| Testnet HTTPS| 61001         | 31001 |
| Regtest TCP  | 60401         | 30401 |
| Regtest HTTP | 61400         | 31400 |
| Regtest HTTPS| 61401         | 31401 |
| Testnet4 TCP | 62001         |       |
| Testnet4 SSL | 62002         |       |
| Testnet4 WS  | 62003         |       |
| Testnet4 WSS | 62004         |       |
| Testnet4 HTTP| 62100         |       |
| Testnet4 HTTPS| 62101         |       |
| Scalenet TCP | 63001         |       |
| Scalenet SSL | 63002         |       |
| Scalenet WS  | 63003         |       |
| Scalenet WSS | 63004         |       |
| Scalenet HTTP| 63100         |       |
| Scalenet HTTPS| 63101         |       |
| Chipnet TCP  | 64001         |       |
| Chipnet SSL  | 64002         |       |
| Chipnet WS   | 64003         |       |
| Chipnet WSS  | 64004         |       |
| Chipnet HTTP | 64100         |       |
| Chipnet HTTPS| 64101         |       |


## Prometheus monitoring

Default ports for [prometheus monitoring](monitoring.md).

| Protocol | Bitcoin Cash  | Nexa  |
| -------- | ------------- | ----- |
| Mainnet  | 4224          | 3224  |
| Testnet  | 14224         | 13224 |
| Regtest  | 24224         | 23224 |
| Testnet4 | 34224         |       |
| Scalenet | 44224         |       |
| Chipnet  | 54224         |       |
