I have deployed deployed the .bna file and even created rest server endpoints in my vm using composer-rest-server. I would like to expose these API to outside world? What should be done to achieve the same?
Asked
Active
Viewed 164 times
1 Answers
1
See this link -> need to replace localhost:3000 with realip:3000 in composer-rest-server
Obviously you could use port forwarding so that when your users hit your VM at http://nn.nn.nn.nn:3000/explorer (ie VM has an extra network interface with fixed IP address, that is accessible by the 'outside world') - it will forward that to the REST server running in your VM. Obviously no authentication/REST wallets set in this example.

Paul O'Mahony
- 6,740
- 1
- 10
- 15
-
Thank you!!I was able to access it – Girish Jun 25 '18 at 09:20