Regarding issue #1806, If NOT using “legacy” option, how do you pass IP address of computer when starting the local dev server? Should updating --address to point to computer IP do the trick (then using companion to access dev server and retrieving assets from dev server)?
1 Like
Yes. When I run it I pass -a 0.0.0.0
to listen on all IPs and then point your browser to the IP address of your computer on the network. There will need to be a routable path between your device and the computer for this to work as the device attempts to retrieve the assets directly from the server, so it won’t work, for example, if your computer is behind a NAT and your phone is on cellular. If you’re at home and on the same WiFi it should be fine. If you’ve got a firewall set up you may need to make an allowance for the dev server to listen on port 8888 on a non-localhost interface.
FYI the relevant code for asset transfer in the WebRTC case is here:
4 Likes