-
Notifications
You must be signed in to change notification settings - Fork 717
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] rpcallowip (static ip does not work) #2688
Comments
Hello, There are other solutions for this like: https://github.com/random-zebra/PIVX-NGINX_proxy . Where you can expose only certain commands, limit the access, connect through a TLS channel, among other nice features. Saying that, if you still want to take the risk and expose your node's JSON-RPC server, you have to combine |
none of this works. |
add below 4 lines |
To use rpcallowip you need same IP you are connecting from, you need rpcbind to be your server or home machine IP, if you don't want to use default port you must set rpcport. Here is a demo, connecting from home to hosted on VPS (masked home IP) Please close the issue, not a bug |
@furszy I always wanted to write API wrapper to expose RPC over SSL, this PIVX Nginx Proxy is such a great idea. I'll look into that, Thanks! |
I use pivx v5.3.3
rpcallowip=127.0.0.1 - working
other static ip does not work
example:
rpcallowip=94.156.11.7 - does not work
Works only from localhost successfully. I am using curl.
The text was updated successfully, but these errors were encountered: