Skip to content

Instantly share code, notes, and snippets.

@shvyrev
Created November 6, 2024 08:16
Show Gist options
  • Save shvyrev/cd82c5edfa3adcfbc25cb0e8e0ef9de7 to your computer and use it in GitHub Desktop.
Save shvyrev/cd82c5edfa3adcfbc25cb0e8e0ef9de7 to your computer and use it in GitHub Desktop.
kuber curl -v GET "http://localhost:8080/api\?timeout\=32s"
* Trying 193.232.168.26:80...
* Connected to GET (193.232.168.26) port 80 (#0)
> GET / HTTP/1.1
> Host: GET
> User-Agent: curl/7.79.1
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 404 Not Found
< Server: nginx
< Date: Wed, 06 Nov 2024 08:15:59 GMT
< Content-Type: text/html
< Content-Length: 146
< Connection: keep-alive
<
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
* Connection #0 to host GET left intact
* Trying 127.0.0.1:8080...
* connect to 127.0.0.1 port 8080 failed: Connection refused
* Trying ::1:8080...
* connect to ::1 port 8080 failed: Connection refused
* Failed to connect to localhost port 8080 after 0 ms: Connection refused
* Closing connection 1
curl: (7) Failed to connect to localhost port 8080 after 0 ms: Connection refused
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment