Nano-node: RPC external access

Created on 26 Jul 2018  路  1Comment  路  Source: nanocurrency/nano-node

i start one node for test, in moment this online on http://35.198.59.159/
rpc online, if i test RPC curl on external ip
i recive response refused
curl -g -d '{"action": "wallet_create"}' '[::ffff:35.198.59.159]:7076'
curl: (7) Failed to connect to ::ffff:35.198.59.159 port 7076: Connection refused
if i test localhost, work fine

the test network is for desenv, i use raiblocks-js, i set Rai(http://35.198.59.159:7076) and i recive refused

Most helpful comment

i recive suport on discord,
set configure
i change ::ffff:1 to ::ffff:0.0.0.0
::ffff:1 acept only local host, ::ffff:0.0.0.0 acept all request's, no set in your node, because your node would be vulnerable

"rpc": {
"address": "::ffff:0.0.0.0",
"port": "7076",
"enable_control": "true",
"frontier_request_limit": "16384",
"chain_request_limit": "16384"
},

to acept all ip'

>All comments

i recive suport on discord,
set configure
i change ::ffff:1 to ::ffff:0.0.0.0
::ffff:1 acept only local host, ::ffff:0.0.0.0 acept all request's, no set in your node, because your node would be vulnerable

"rpc": {
"address": "::ffff:0.0.0.0",
"port": "7076",
"enable_control": "true",
"frontier_request_limit": "16384",
"chain_request_limit": "16384"
},

to acept all ip'

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fallerOfFalls picture fallerOfFalls  路  4Comments

paulmelis picture paulmelis  路  6Comments

BitDesert picture BitDesert  路  6Comments

henry701 picture henry701  路  5Comments

FndNur1Labs picture FndNur1Labs  路  6Comments