2017년 7월 8일 토요일

AIStarter in an RDS environment


Is it possible to run AIStarter in an RDS environment. I've set up virtual IPs and Virtual Loopback, but it seems as if AIStarter may have 127.0.0.1 hardcoded. If loopback is set to, say, 127.0.0.2, it fails. If left to use 0.0.1, one user will take over another user's project. 

Any help, or even, (but hopefully not) a definite NO to RDS would be appreciated.

--
There are some local versions of AI2 like AI2U in the Other Versions section

Maybe one of them can be tweaked to your networking requirements?

-- 
This is not possible with the way the aiStarter system is currently designed because the scripts on ai2.appinventor.mit.edu need to know which IP address to connect on (i.e., how do you tell the web server that your emulator is now on 127.0.0.2). The loopback address is the only known fixed address and we can't make any assumptions about setups other than that. That being said, it's possible that you could do the following (but I can't make any guarantees):

1. Set up one of the Genymotion emulators and have it bridged so that the virtual machine running the emulator and your computer can route traffic to one another. The virtual machine will also need to be routable to the internet so it can contact our rendezvous server.
2. Instead of connecting to the emulator using Connect > Emulator, connect with Connect > AI Companion and enter the 6-character code into the companion running inside the emulator. The companion will send the dynamic IP of the virtual machine to the rendezvous server, just like if you were running on a phone, and then the two should establish a connection over your network bridge.

-- 

댓글 없음:

댓글 쓰기