invoker icon indicating copy to clipboard operation
invoker copied to clipboard

A way to access invoker processes from other devices in LAN

Open hiroshi opened this issue 10 years ago • 6 comments

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

hiroshi avatar Jun 25 '14 13:06 hiroshi

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

gnufied avatar Jun 25 '14 20:06 gnufied

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

hiroshi avatar Jun 26 '14 00:06 hiroshi

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

hiroshi avatar Jun 27 '14 00:06 hiroshi

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 avatar Jul 08 '14 12:07 hiroshi

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

gnufied avatar Jul 09 '14 15:07 gnufied

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?

lcmen avatar Nov 13 '15 18:11 lcmen