invoker
invoker copied to clipboard
A way to access invoker processes from other devices in LAN
Like pow does with xip.io. https://signalvnoise.com/posts/3191-announcing-pow-040-with-xipio-support
Should be relatively simple to add. We need to modify regular expression that extracts hostname
from incoming uri.
@gnufied Thanks for your reply. I'm looking forward to the day ;-)
Thanks @abasak @gnufied. With latest master invoker repo. I can see an invoker process from my iPhone!!
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.
@hiroshi you are correct. I think, we need to take care of this. I am going to reopen this ticket.
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?