The tails command always returns with a curl: (7) Failed to connect to localhost port 8000: Connection refused
The tails command (directory is correct on my setup):
tail -F /DIRECTORY/logs/latest.log | grep --line-buffered ": <" | while read x ; do echo -ne $x | curl -X POST -d @- http://localhost:8000/minecraft/hook ; done
I'm not sure as to what the problem is with the localhost, the port is right, and I have the webhook and rcon on, he tmux screen with the yarn build && yarn run say Authenticated with 127.0.0.1:25575 so I'm very unsure as to what could fix this.
The tails command always returns with a
curl: (7) Failed to connect to localhost port 8000: Connection refused
The tails command (directory is correct on my setup):
tail -F /DIRECTORY/logs/latest.log | grep --line-buffered ": <" | while read x ; do echo -ne $x | curl -X POST -d @- http://localhost:8000/minecraft/hook ; done
I'm not sure as to what the problem is with the localhost, the port is right, and I have the webhook and rcon on, he tmux screen with the yarn build && yarn run say
Authenticated with 127.0.0.1:25575
so I'm very unsure as to what could fix this.