Re: [qubes-users] How to point(connect) to App VM from external?

2019-12-21 Thread Tae Hwan Kim
I solved my problem using that document.
Thanks for your help!.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/97878383-7d22-4100-8cc3-d2a53fd9a33d%40googlegroups.com.


Re: [qubes-users] How to point(connect) to App VM from external?

2019-12-20 Thread 'awokd' via qubes-users
Tae Hwan Kim:
> Hi all!
> I am trying to use Qubes OS as a mobile development machine.
> 
> My backend server is running in work vm at localhost:4000
> And I am testing my app in real device that is connected using USB cable.
> 
> The frontend client should send request to my backend server 
> (localhost:4000).
> For testing in real device, localhost address must be changed to real ip 
> address(work vm).
> So in my client.js(frontend code),
> 
> const HTTP_ENDPOINT = "http://10.137.0.15:4000/api;;
>>
> const httpLink = createHttpLink({ uri: HTTP_ENDPOINT});
>>
> const client = new ApolloClient({ link: httpLink });
>>
> , 
> Unfortunately that address doesn't respond. I tried real ip address which 
> is 192.168.1.8, But doesn't work neither.
> 
> How can I do this?
> 
> Thanks in advance.
> 
You'd want to use the 192.168.1.8 address in your client, and port
forward to the VM using
https://www.qubes-os.org/doc/firewall/#port-forwarding-to-a-qube-from-the-outside-world.

-- 
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/6fbffe45-713f-a5fb-4499-64a4d6d36e1e%40danwin1210.me.