# Can\`t connect to uri https://89.116.232.181:4000/graphql , that working in apollo sandbox

**URL:** <https://community.apollographql.com/t/can-t-connect-to-uri-https-89-116-232-181-4000-graphql-that-working-in-apollo-sandbox/6216>\
**Category:** Server\
**Tags:** server\
**Created:** [May 3, 2023, 8:21am UTC](https://community.apollographql.com/t/can-t-connect-to-uri-https-89-116-232-181-4000-graphql-that-working-in-apollo-sandbox/6216 "2023-05-03T08:21:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kosiuk777](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/kosiuk777/32/4194_2.png) [@kosiuk777](https://community.apollographql.com/u/kosiuk777)\
**Post date:** [May 3, 2023, 8:21am UTC](https://community.apollographql.com/t/can-t-connect-to-uri-https-89-116-232-181-4000-graphql-that-working-in-apollo-sandbox/6216/1 "2023-05-03T08:21:08Z")

</div>

I am using apollo graphql client in react native android app.  
my code:  
const httpLink = createHttpLink({  
uri: “[https://89.116.232.181:4000/graphql](https://89.116.232.181:4000/graphql)”, - not real address but the same format  
})  
const httpLinkWithOptions = ApolloLink.from([  
cleanTypeName,  
authFlowLink,  
httpLink,  
])  
export const client = new ApolloClient({  
link: httpLinkWithOptions,  
cache  
})  
Error : Network request failed

---

<div class="post-metadata">

**Author:** ![dylan](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/dylan/32/6009_2.png) [@dylan](https://community.apollographql.com/u/dylan)\
**Post date:** [May 3, 2023, 4:17pm UTC](https://community.apollographql.com/t/can-t-connect-to-uri-https-89-116-232-181-4000-graphql-that-working-in-apollo-sandbox/6216/2 "2023-05-03T16:17:37Z")

</div>

You typically cannot connect via `https` to an IP address, because certificate verification for the encryption (the `s`) relies on the domain name. I’m actually not sure why that works from sandbox—is it an embedded sandbox from the server or the [Apollo-hosted sandbox](https://studio.apollographql.com/sandbox)?

---

<div class="post-metadata">

**Author:** ![Justin\_Gonzalez](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/justin_gonzalez/32/5359_2.png) [@Justin\_Gonzalez](https://community.apollographql.com/u/Justin_Gonzalez)\
**Post date:** [February 6, 2025, 8:48pm UTC](https://community.apollographql.com/t/can-t-connect-to-uri-https-89-116-232-181-4000-graphql-that-working-in-apollo-sandbox/6216/4 "2025-02-06T20:48:56Z")

</div>


