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 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.