toncenter / ton-http-api

HTTP API for TON (The Open Network)
https://toncenter.com
GNU General Public License v3.0
164 stars 25 forks source link

how do I fill in my private lite server'ip in config file? #107

Closed airstring closed 2 months ago

airstring commented 2 months ago

I read the configuration file: https://ton.org/global-config.json, lite server's paragraph is shown below. Why is the format of ip not 127.0.0.1, but a number. If i want o point the HTTP API to my own lite server, how do I fill in my private lite server'ip?

"liteservers": [ { "ip": 84478511, "port": 19949, "id": { "@type": "pub.ed25519", "key": "n4VDnSCUuSpjnCyUk9e3QOOd6o0ItSWYbTnW3Wnn8wk=" } },

airstring commented 2 months ago

completed

Mountain-AI commented 4 weeks ago

@airstring lite server run by mytonctrl ?