Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A way to access invoker processes from other devices in LAN #89

Open
hiroshi opened this issue Jun 25, 2014 · 6 comments · Fixed by #90
Open

A way to access invoker processes from other devices in LAN #89

hiroshi opened this issue Jun 25, 2014 · 6 comments · Fixed by #90

Comments

@hiroshi
Copy link

hiroshi commented Jun 25, 2014

Like pow does with xip.io.
https://signalvnoise.com/posts/3191-announcing-pow-040-with-xipio-support

@gnufied
Copy link
Contributor

gnufied commented Jun 25, 2014

Should be relatively simple to add. We need to modify regular expression that extracts hostname from incoming uri.

@hiroshi
Copy link
Author

hiroshi commented Jun 26, 2014

@gnufied
Thanks for your reply. I'm looking forward to the day ;-)

@hiroshi
Copy link
Author

hiroshi commented Jun 27, 2014

Thanks @abasak @gnufied.
With latest master invoker repo. I can see an invoker process from my iPhone!!

@hiroshi
Copy link
Author

hiroshi commented Jul 8, 2014

After I restarted my mac with OS X update 10.9.4, myapp.<ip address>.xip.io doesn't work, but myapp.127.0.0.1.xip.io does.

I think the following rules for pfctl are only work for the loopback interface.

rdr pass on lo0 inet proto tcp from any to any port 80 -> 127.0.0.1 port 23401
rdr pass on lo0 inet proto tcp from any to any port 443 -> 127.0.0.1 port 23402

Why myapp.<ip address>.xip.io worked before restart as I reported the last comment? I guess before the restart I migrated from pow setup and there were ipfw rules for pow.

@gnufied
Copy link
Contributor

gnufied commented Jul 9, 2014

@hiroshi you are correct. I think, we need to take care of this. I am going to reopen this ticket.

@gnufied gnufied reopened this Jul 9, 2014
@lcmen
Copy link

lcmen commented Nov 13, 2015

I'd love to have this feature - I work with api + mobile app on a daily basis and for now the only way to access the application from mobile device is to explicitly provide port in the url (23401- http). Any workarounds (even manual ones)? I've looked for an ability to forward port 80 -> x but as it has been said above it works only for loopback interface.

Btw. How pow is able to make it work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants