Developers Forum for XinFin XDC Network

Discussion on: [Solved] How Do I Get an RPC URL for My Subnet?

Collapse
mitali_blocksscan profile image
Mitali_BlocksScan

Hello @gaslimit
We hope that the above issue is resolved, if the issue still persists then please let us know about it so that the team can resolve it on priority. It will be grateful to get an update within 72 hours or else it will be considered resolved.
Thank You.

Collapse
gaslimit profile image
𝔤𝔞𝔰 𝔩𝔦𝔪𝔦𝔱 Author • Edited on

Hello, apologies for the late reply. I have successfully sent tokens from the master account to another address on the local machine where the subnet is being hosted, however I have failed when running the same script on a separate machine. How do I make it so that I can access the chain from anywhere? Please refer to the screenshots below

xdc.dev/uploads/articles/5q68w8c5z...

Collapse
wanwiset25 profile image
Wanwiset Peerapatanapokin

Hi @gaslimit

This is a network issue. It depends on your connectivity on the remote machine to the subnet machine.

Are they on the same network (ie. "ping 10.0.2.15" works)?
Does port 8545 allow external connection on the subnet machine?

You might have to look at NAT, and Port forwarding if you want to call the subnet over the internet.

Thread Thread
gaslimit profile image
𝔤𝔞𝔰 𝔩𝔦𝔪𝔦𝔱 Author

Thank you! that was the issue.