I have an apollo server running on Ubuntu WSL. Browesers: Brave, Firefox
In order to access the running server from my local browser I use http://[wsl-virtual-machine-ip]:4000
.
The problem: When i try and connect the apollo playground to the running server, it is unable to inspect the graphql api and unable to make any queries. The UI says that the browser does not allow http requests from an https environment. I disabled the security features in the browsers that prevent this and still get a UI notification that says the connection to the local apollo server is insecure.
I tried adding the WSL virtual machine ip to a windows hosts file with a subdomain localwsl
but still got the same issues.
Has anyone found a work around or configuration to make the playground ‘just work’?