I have been trying to connect remotely to my node (I have created it purely for Querying the etherium network NO OPEN ACCOUNTS).
I am starting geth like so:
sudo geth --http --ws -syncmode light --http.corsdomain '*' --http.api eth,web3,debug --ws.origins '*' --ws.api eth,web3,debug --port 30310 --http.addr "0.0.0.0" --ws.addr "0.0.0.0"
I then test with :
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":67}' http://localhost:8545
Works Fine I get a return.
I then do
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":67}' http://77.97.60.10:8545
No Response .....
ports are open:
chris@Laptop-Server:~$ sudo ufw status
[sudo] password for chris:
Status: active
To Action From
-- ------ ----
8545 ALLOW Anywhere
8546 ALLOW Anywhere
30310 ALLOW Anywhere
8545 (v6) ALLOW Anywhere (v6)
8546 (v6) ALLOW Anywhere (v6)
30310 (v6) ALLOW Anywhere (v6)
Any ideas as to what I am doing wrong here?