I setup a loki network node and have it fully synced to the network. I want to be able to enable public access and also to view the /get_info data when I goto my node.
As of lokid 8.1.3 the preferred setting is now:
which replaces the older:
rpc-bind-ip=0.0.0.0 rpc-bind-port=22023 restricted-rpc=true confirm-external-bind=true
quartet and also leaves an unrestricted localhost:22023 listener so that you can still invoke restricted rpc commands locally.
Create a new file in your .loki folder:
And put in the following:
no-igd=true rpc-bind-ip=0.0.0.0 #rpc-bind-port=99999 restricted-rpc=false confirm-external-bind=true
Then restart your loki.
You can access your /get_info from your ip: http://127.0.0.1:22023/get_info