Apologies if this is a stupid question or I’m not using the right terminology, but I’ve tried searching for this with multiple different wordings and haven’t come across an answer.
A bit of context: I’ve been building a static website with React, and me and my team are now moving it to Meteor so that we can build out a backend.
I can get the site up and running at http://localhost:3000, just like with React, with the meteor command in the terminal, but I can’t figure out how to get it to show up on my phone.
I really liked the way React also hosted the app at a local IP address and told you that IP address in the terminal after running npm start, and I was wondering if there’s any way to get similar functionality with Meteor.
I’d love to have hot reloading on both my phone and my computer while I’m working on the frontend of the project.
I did a little more digging (specifically, I ran meteor help run), and it looks like the --mobile-server argument might be what I’m looking for. However, I’m not sure how to get it running…
It says: “Defaults to your local IP and the port that the Meteor binds to” which I thought meant I could just run meteor run --mobile-server but then it tells me that --mobile-server needs a value.
Hm, it starts running with that and says “=> App running at: http://localhost:3000/” but when I navigate to that address on my phone (same WiFi network) it just gives me “Unable to connect”
I also tried with the one that I think React used before (it was saved in my mobile browser history): 192.168.86.58:3000, and it didn’t work either