TLDR: Emporter is a simple tool using which you can expose your localhost to web in realtime. It's free and no complex configuration.
So the requirement was I wanted to work on the responsiveness of a web application but I wanted for a specific device and a real device because I wanted to test the "Reachability" mode on iOS.
I tried multiple solutions from stackoverflow and few youtube videos as well. I will give the examples because I know when someone visits this article they might already have the knowledge of other tools. If not they will have with this info :)
The below are the solutions which I have tried.
access localhost from mac to iPhone using network/sharing settings and connecting cable
Initially I thought it's a simple solution but may be because the laptop was provided by my organisation (network settings). I am not very sure though. Ideally it should have been worked with a simple solution like thisngrok - I was unable to install it because it was a third party tool and my mac doesn't allow me.
Port2 app for mac - It was not free and the only one session it provided didn't work for me. It shows
undefined
url and simply didn't work
Then I found this mac app from app store and it worked like a charm.
How to use
Once you install this app, you will see the icon on the top menu bar. Once you click on that you will see there are no connections.
Because it's a premium version, it will generate a random url instead of the given name. You can click on the connection and "Reveal in browser". It's live and it's realtime.
If at all this article is helpful, do give it a 'Heart'. Always appreciate it. :)
Top comments (0)