Node operators in the Cosmos ecosystem often wants to run multiple Cosmos SDK-based nodes on the sames server to save cost.
The Cosmos SDK init
command will generate config.toml
and app.toml
for each node. Without revision, the ports in these files will conflict with each other if multiple nodes are ran on the same server.
This project is an attempt to standardize these ports while avoiding port conflict. While any random non-conflicting ports can do, a standardized port prefix system can make the port assignment more predictable. Moreover, if two node operators follow the same system, they can easily exchange deployment scripts without breaking codes.
The best way to use the port prefix system is to use Ansible deployment script.
You can also change these 9 ports (5 in config.toml and 4 in app.toml) manually. See below.
config.toml:
'laddr = "tcp://0.0.0.0:26656"': 'laddr = "tcp://0.0.0.0:{{ custom_port_prefix }}56"' # also use this port for external_address
'laddr = "tcp://127.0.0.1:26657"': 'laddr = "tcp://0.0.0.0:{{ custom_port_prefix }}57"'
'proxy_app = "tcp://127.0.0.1:26658"': 'proxy_app = "tcp://127.0.0.1:{{ custom_port_prefix }}58"'
'prometheus_listen_addr = ":26660"': 'prometheus_listen_addr = ":{{ custom_port_prefix }}61"'
'pprof_laddr = "localhost:6060"': 'pprof_laddr = "localhost:{{ custom_port_prefix }}60"'
app.toml:
'address = "tcp://0.0.0.0:1317"': 'address = "tcp://0.0.0.0:{{ custom_port_prefix }}17"'
'address = ":8080"': 'address = ":{{ custom_port_prefix }}80"'
'address = "0.0.0.0:9090"': 'address = "0.0.0.0:{{ custom_port_prefix }}90"'
'address = "0.0.0.0:9091"': 'address = "0.0.0.0:{{ custom_port_prefix }}91"'
Note: Please do not use 266 as port prefix because this is the default
Network | Port Prefix |
---|---|
Test | 100 |
Hypersign | 109 |
Kyve | 110 |
Quicksilver | 111 |
Defund | 112 |
Gitopia | 113 |
Deweb | 114 |
Archway | 115 |
Celestia | 116 |
Terra2 | 117 |
Kujira | 118 |
Sei | 119 |
Echelon | 120 |
Paloma | 121 |
Stride | 122 |
Cudos | 123 |
Althea | 124 |
Osmosis | 125 |
Juno | 126 |
Nomic | 127 |
Akash | 128 |
Chihuahua | 129 |
Bitcanna | 130 |
Comdex | 131 |
Sifchain | 132 |
Konstellation | 133 |
Evmos | 134 |
Kichain | 135 |
Umee | 136 |
Stargaze | 137 |
Cerberus | 138 |
Kava | 139 |
Certik | 140 |
Sommelier | 141 |
Gravity | 142 |
Injective | 143 |
Agoric | 144 |
Crescent | 145 |
Assetmantle | 146 |
Meme | 147 |
Galaxy | 148 |
Cosmos | 149 |
Androma | 150 |
Axelar | 151 |
FetchHub | 152 |
Nym | 153 |
Persistence | 154 |
Canto | 155 |
Passage | 156 |
Craft | 157 |
Source | 158 |
Teritori | 159 |
Bitsong | 160 |
Cheqd | 161 |
Desmos | 162 |
Dig | 163 |
Firmachain | 164 |
IDEP | 165 |
Impacthub | 166 |
Lum | 167 |
Odin | 168 |
Omniflix | 169 |
Vidulum | 170 |
Secret | 171 |
Rebus | 172 |
Nois | 173 |
Empower | 174 |
Jackal | 175 |
axone | 176 |
SGE Network | 177 |
loyal | 178 |
ICS Apollo | 179 |
ICS Sputnik | 180 |
Ollo | 181 |
Quasar | 182 |
Joe | 183 |
Humans | 184 |
Mars | 185 |
interchain | 186 |
interchain_topn_one | 187 |
ICS RESERVED 3 | 188 |
ICS RESERVED 4 | 189 |
ICS RESERVED 5 | 190 |
neutron | 191 |
ICS RESERVED 7 | 192 |
Alliance | 193 |
Pylons | 194 |
Heimdall | 195 |
Carbon | 196 |
Nolus | 197 |
Nibiru | 198 |
Lava | 199 |
Namada | 200 |
XPLA | 201 |
Crypto.com | 202 |
Planq | 203 |
Uptick | 204 |
Dymension | 205 |
Babylon | 206 |
Whitewhale(migaloo) | 207 |
Alliance ordos | 208 |
Alliance corrino | 209 |
Alliance harkonnen | 210 |
Alliance atreides | 211 |
Andromeda | 212 |
eightball | 213 |
BlockX | 214 |
Noble | 215 |
Ojo | 216 |
Aura | 217 |
Stratos | 218 |
Penumbra | 219 |
Elys | 220 |
Noria | 221 |
Picasso | 222 |
Xion | 223 |
TENET | 224 |
Zetachain | 225 |
IRISnet | 226 |
Regen | 227 |
Arkeo | 228 |
Band | 229 |
Vega | 230 |
Duality | 231 |
UnUniFi | 232 |
Orai | 233 |
Decentr | 234 |
Qwoyn | 235 |
Cronos | 236 |
Router | 237 |
Dydx | 238 |
Sentinel | 239 |
Haqq | 240 |
Temporal | 241 |
Functionx | 242 |
Selfchain | 243 |
Coreum | 244 |
Stafi Hub | 245 |
Union | 246 |
Fairyring | 247 |
Pryzm | 248 |
Saga | 249 |
SwapLand | 250 |
Mantrachain | 251 |
Soarchain | 252 |
Dora | 253 |
Berachain | 254 |
Aether | 255 |
Terra Classic | 256 |
Initia | 257 |
SEDA | 258 |
Wormhole | 259 |
Cross Finance | 260 |
Pundix | 261 |
Rizon | 262 |
Side Protocol | 263 |
Swisstronik | 264 |
GovGen | 265 |
RESERVED | 266 |
Allora | 267 |
Hedgeblock | 268 |
Furya | 269 |
Provenance | 270 |
UNDISCLOSED | 271 |
Chain4Energy | 272 |
Warden | 273 |
Galactica | 274 |
AlignedLayer | 275 |
Kopi | 276 |
Ethos | 277 |
Artela | 278 |
Synternet | 279 |
CosmosTheta | 280 |
Nillion | 281 |
dHealth | 282 |
Sunrise | 283 |
OG Network | 284 |
Settlus | 285 |
Shido | 286 |
Int3face | 287 |
Fiamma | 288 |
Titan | 289 |
Empe | 290 |
Symphony | 291 |
Story | 292 |
Laconic | 293 |
Symbiotic | 294 |
Zenrock | 295 |
Zenrock | 295 |
Fuel | 296 |
Tabi | 297 |
Prysm | 298 |
AtomOne | 299 |
Here is the JSON API.