1

I am running a local blockchain on my computer. And I want to call an action on my node using eosjs from another computer in another network. My current http provider in the config section of JavaScript script is 127.0.0.1:8888, but that is applicable only to my computer. How should I know my IP address from the callers perspective? What should I put to HTTP provider instead? Are there any additional options to set when calling from another PC?

0

First of all,

You need a static IP for your computer where outside can find your device via this IP.

Then you should config http server from 127.0.0.1:8888 to 0.0.0.0:8888, this mean everyone can access it.

And the last thing: opening your port 8888

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.