I Have use this tutorial to setup my wallet
https://sethforprivacy.com/guides/run-a-monero-node-advanced/Wallet have been created with CLI / monerod are started with full sync and rpc started with this command.
monero-wallet-rpc --rpc-bind-port 18088 --rpc-bind-ip 0.0.0.0 --rpc-login ********:********* --prompt-for-password --log-level 2 --wallet-file liberty404 --daemon-address 0.0.0.0:18089 --daemon-login *******:******** --trusted-daemon --confirm-external-bind
I try on VPS, on VirtualMachine nothing working..
My Monero PHP
public function walletRPC(){
$walletRPC = new walletRPC('94.154.***.**', 'user','password', 18088, false);
}
I GET THIS ERROR EVERYTIME.
https://i.ibb.co/72j24fq/Capture-d-cran-2024-03-14-123219.pngWith Curl Call All is working Fine on terminal but not working on the script
curl
http://94.154.***.**:18089/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"create_account","params":{"label":"Secondary account"}}' -H 'Content-Type: application/json' -u **********:**********