Tell me more ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Is there any way to access a local server via a smartphone during developement, or must I test it online?

share|improve this question
Why exactly are you asking? Obviously if you're running a server on your machine, it's accessible via whatever the assigned IP address/hostname is. Is that not working for you? – Su' Dec 15 '12 at 9:06
I don`t know the details, and only saw someone doing it, so I am posting as a comment. You can plug an android into your PC via USB and use the Chrome developer tools to see elements directly on your phone. No server or wifi needed. – Dallas Dec 16 '12 at 20:03

2 Answers

If you are using a Mac, you can give a try to Sauce.

All the browsers. Right here. Right now.

Sauce will provide you a virtual machine to test on every plateform a local/online website, which every browser. The free version is restricted to few plateform, but it can be enough for you.

Otherwise, you can configure acces your local server over your wifi. Just type the ip address in the url bar. But you will have to need all device.

If you just want to see how it renders in a responsive way, you can test it on the last Firefox release.

share|improve this answer

Yes, of course. If your smartphone can connect to your local network over wifi then it can connect to any device on that network (that accepts connections), including your server, just like any other computer can. I do this to keep tabs on mobile compatibility during development, but it is limited to the phones(s)/tablet(s) in your possession so it isn't a very thorough way to test.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.