Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Curl suggestion didn't work #50

Open
cameronthompson-payroc opened this issue Sep 21, 2023 · 0 comments
Open

Curl suggestion didn't work #50

cameronthompson-payroc opened this issue Sep 21, 2023 · 0 comments

Comments

@cameronthompson-payroc
Copy link

Leaving this for future learners, if you receive an error

PS C:\Users\User> curl 0.0.0.0:9200
curl : Unable to connect to the remote server
At line:1 char:1

  • curl 0.0.0.0:9200
  •   + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
      + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
    
    

It is exposed on that port as can be seen from the inspect extract "Ports": {
"9200/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "9200"
}

But using curl 127.0.0.1:9200 did work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant