Connecting with a different port with username and password
- Dominant language
- JavaScript
- Stars
- 8.5k
- Forks
- 512
- PR merge metrics
- No merged PRs in 30d
Description
Hello! first here are my settings on ES.
http.cors.enabled: true
http.cors.allow-origin: 'https://opensource.appbase.io'
http.cors.allow-headers: X-Requested-With,Content-Type,Content-Length,Authorization
http.cors.allow-credentials: true
My ES cluster is remote and I am trying to access it through the web browser.
I also have it running on a different port, not 9200.
i tried using `https://mydomain:myport`, and i also tried `https://username:password@mydomain:myport` but I still get a "Unable to connect", what might I be doing wrong?
Actually...just something weird I noticed is on firefox i get "NetworkError when attempting to fetch resource." saying "You are trying to load http content over https. You might have to enable mixed content of your browser https://kb.iu.edu/d/bdny" but that didn't change the error. On Chrome I get "Unable to connect".
My biggest concern is, does this only work if your ES cluster is on port 9200? Is there anything I can do so it accepts my port number on ES? We aren't using 9200 for security reasons and if it has to be on 9200, I will not be able to use this.
EDIT wrong url, that was for something else.
Contributor guide
Assessment
This issue has not been assessed yet.