Error reading server preface

alright, good progress that it works locally - the original problem is solved and blockchain is running locally as expected.

now, by “access it using other IPs” you mean accessing rest endpoint from other computers on your local network or? as in - from another machine on the local network you call something like

curl http://192.168.1.50:1317/cosmos/base/tendermint/v1beta1/node_info

where 192.168.1.50 should be replaced with local ip of the blockchain machine and it fails?
if it does - what is the error?


is this still part of api config? it should be 0.0.0.0 there to allow connections from other ips

[api]
address = “tcp://0.0.0.0:1317”

do you have a firewall running on the blockchain machine maybe?
as the next step you can look into nginx setup to properly expose ports and make endpoints accessible from the outside

2 Likes

Sorry, the comment limit was reached yesterday.Bro, I think I’m confused. I changed the IP back to 0.0.0.0:9090, and it worked for me too.The only difference was that I had restarted the server yesterday.

hm, maybe the server had some networking issues that restart fixed (given what we found during diagnostics with ipv4 and ipv6), or blockchain was not fully redeployed somehow, but if it works now - great, that was the goal right :+1:

1 Like

Yes, the result was good. Thank you for your support despite your busy schedule.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.