When developing a web service, I think there are many times when you want to try out the usability on your smartphone.
However, it's annoying to deploy one by one to the production environment just to see the slight differences.
If it's only once, but if you want to experiment with small changes in detail, it's hell to deploy each time because of the difference of a few lines.
In such a case, you can be happy if you can easily connect to localhost from your smartphone.
The procedure is as follows.
In my case, I'm developing with Rails, so I connect to the general port 3000.
192.160.10.224:3000
It is an image of typing a character string like this into the chrome address bar of a smartphone.
https://qiita.com/TeppeiMimachi/items/8f19e111cd1766a7d084
Recommended Posts