3

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

3
  • 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'
    Commented Dec 15, 2012 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
    Commented Dec 16, 2012 at 20:03

2 Answers 2

2

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.

0

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

All the browsers. Right here. Right now.

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

Otherwise, you can configure access to your local server over your wifi. Just type the IP address in the URL bar.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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