I am developing a new WordPress theme and am doing this locally on my laptop using MAMP. On my laptop I can access the site at localhost:8800.
Is there a way I can visit this localhost site from my iPhone? I'd like to see what the theme looks like on mobile devices rather than just resizing my browser. Could this work if I make an ad hoc WiFi network between the two?
Use an online tester or emulator Emulators are generally used for testing apps in their native environments, but many of them are available for website responsiveness. You can also find basic testers online to paste in your URL and see what it looks like on smaller devices.
If you have your localhost address in your clipboard (e.g. http://localhost:3000 ), you can hold down Option ⌥ with the IP menu open to replace the "localhost" part with your IP. http://localhost:3000 then becomes something like http://192.168.0.1:3000 .
try the link How do you access a website running on localhost from iPhone browser here is the something you might be looking for.
or if you want to test your site on different devices http://quirktools.com/screenfly/ this link might be helpful ;)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With