You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can access ws as expected from port 9933 but I cannot access the RPC API
For example the following RPC call doesn't work because I'm unable to connect to the server
curl http://<IP_ADDR>:9933 -X POST -H 'Content-Type: application/json' -d '
{"jsonrpc":"2.0","method":"system_health","params":[],"id":0}'
Expected Behavior
I should be able to open and query the RPC API via private IP + 9933 when provided --listen-addr /ip4/<IP_ADDR>/tcp/9933/http (If I'm passing the wrong protocol string please advise)
If I don't provide any listen-addr argument and just use the defaults from --rpc-port it works otherwise and I can see this message on startup: Running JSON-RPC server: addr=0.0.0.0:9933, allowed origins=["*"]
Current Behavior
Steps to Reproduce
Running acala v2.24.0
Try to bind RPC to a private IP instead of default 0.0.0.0, you can use 127.0.0.1 for example
RPC + WS should work
Additional context
Node version:
OS:
Command line options:
Relevant transaction hash:
Relevant account address:
Logs. Please format it as code blocks
The text was updated successfully, but these errors were encountered:
This is a required feature for some RPC providers, because we want to bind the service just to our private network so we can be compliant to our security measures
Describe the bug
I'm able to change all the listen addresses below:
I can access ws as expected from port 9933 but I cannot access the RPC API
For example the following RPC call doesn't work because I'm unable to connect to the server
Expected Behavior
I should be able to open and query the RPC API via private IP + 9933 when provided
--listen-addr /ip4/<IP_ADDR>/tcp/9933/http
(If I'm passing the wrong protocol string please advise)If I don't provide any
listen-addr
argument and just use the defaults from--rpc-port
it works otherwise and I can see this message on startup:Running JSON-RPC server: addr=0.0.0.0:9933, allowed origins=["*"]
Current Behavior
Steps to Reproduce
Additional context
code blocks
The text was updated successfully, but these errors were encountered: