Skip to content

Commit a615dc5

Browse files
committed
Use 127.0.0.1 explicitly
There is a possibility that localhost indicates ::1. Signed-off-by: Kentaro Hayashi <kenhys@gmail.com>
1 parent 0615d2d commit a615dc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

container-deployment/install-by-docker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ $ docker run -p 9880:9880 -v $(pwd)/tmp:/fluentd/etc fluent/fluentd:edge-debian
7272
Use `curl` command to post sample logs via HTTP like this:
7373

7474
```text
75-
$ curl -X POST -d 'json={"json":"message"}' http://localhost:9880/sample.test
75+
$ curl -X POST -d 'json={"json":"message"}' http://127.0.0.1:9880/sample.test
7676
```
7777

7878
Use `docker ps` command to retrieve container ID and use `docker logs` command to check the specific container's log like this:

0 commit comments

Comments
 (0)