Using WEBrick you could navigate to an app you were serving from another device/virtual machine by navigating to your.ip.address.here:port
Is it possible to do something similar with pow.cx?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Specifically, no, because Pow uses the
Hostheader of the request to determine which app you need to access. To get that working remotely, you would have to have the remote machine map the required domain name to your IP address – either with a local DNS server or by editing the HOSTS file. Both of which are possible but annoying.The simplest thing to do in that case is to start up a standalone Rails server as you mentioned (using
./script/serverorrails sdepending on the version), and then you can addresshttp://[ip address]:3000as before.In other words, Pow works because it intercepts your local domain resolution, something that isn’t affected by (or available to) remote machines.