This message was deleted.
# community-help
s
This message was deleted.
k
The port might not be exposed to the outside world. Check your firewall permissions.
d
Hello, thanks for replying. I openend the port 8108 already and pretty sure its not the port which is causing problem
k
You can try running another sample server and try accessing that from outside.
d
its something related to CORS which is not allowed to load from outside of origin
k
Cors errors will still return a error message
d
seems right because I cant load Typesense ok from all the vms which is part of Typesense server
cluster
i mean I can load ok
here is the error I am getting:
Copy code
Cross-Origin Request Blocked: Same Origin policy does not allow reading remote resources at http://localhost:8108/multi_search?x-typesense-api-key=v5kALkj5plrXiLFQj7y2eAKH7CJujyOR. (Reason: CORS request failed). Status code: (null)
k
Cors is enabled by default unless you change default flags.
d
Failed to load resource: net::ERR_CONNECTION_REFUSED
here is another error message
apparently if I connect from external browser , it can not load resources from Typesense server so all data is missing
d
are you saying that your front end client is trying to make a request against
localhost
?
a remote user making a request against
localhost
is making it against their own computer, you need to change the host to your domain
d
Yes the localhost was one problem which i fixed and changed it to my domain. Then there is problem with mixed content which I also fixed by using SSL for nginx proxy. But the data is still not loading outside of localhost.
d
what is the error you're getting now
d
ApiCall.js:212 Request #1694486322816: Request to Node 0 failed due to "ECONNABORTED timeout of 5000ms exceeded"
there is a list of this error i am getting now
and this :
createError.js:16 Uncaught (in promise) Error: timeout of 5000ms exceeded at e.exports (createError.js1615) at q.ontimeout (xhr.js13014)
hoooraaaay i have fixed it alray, this beautiful morning and a good night sleep have given me a bright mind
I routed all the request to Nginx server through a custom port but did not open it in the router configuration, so everything goes through it is blocked. its working already, thank you a lot mr David jones
🙌 1