Is there any way to run(preview) expo project on another network?

I’m making an app using expo, and want to preview my app in another network. Right now, I am able to run(preview) my App in the local network using expo-CLI command expo start but it works in the local network only. I also tried expo start --tunnel for another network, but it gives me an error

>Something went wrong
>Could not load exp://hr-s2k.nim***-bh***.Tapp.exp.direct:80

Try changing exp in that URL to http like this:

http://hr-s2k.nim***-bh***.Tapp.exp.direct:80

Then load that URL with a web browser and you might get an idea of what is wrong. There was another thread here recently where someone couldn’t connect remotely and it was because they did not have an entry similar to the following in their /etc/hosts file:

127.0.0.1       localhost

This meant that expo could not resolve the hostname localhost which was causing the connection problems.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.