Forums

Flask app interact with monero-rpc program in dashboard

Goodmorning everyone;

i've got a python flask app for handling a monero wallet:

in local it work running flask and running monero-rpc in a directory on locahost:28080

the falsk app make JSON rpc calls to monero-rpc and recive info on wallets and payments

i run the monero rpc via terminal and flask from pycharm and it work

on pythonanywhere i run monero rpc in a dashboard and flask up set up via manual configuration

the site itself is loaded and work, but when a i call funcions calling monero rpc, it can't connect

got in error log ConnectionRefusedError: [Errno 111] Connection refused

it is possibile for flask app interact with other programs running on dashboards??

ALSO when i make calls at https://api.binance.com/api/v3/ticker/price asking for price, e i get None...the api is on whitelist, why i can't request??

Regarding the rpc server -- it will not work on PythonAnywhere. As for the binance API, we are aware of issues related to the geoip, maybe that also affects you (as your account is on our US branch)?