242 B
242 B
echo-ip
usage:
Start the server. Default: bind address 0.0.0.0 and port 8888.
./ipecho -l 0.0.0.0 -p 8888
Send an HTTP request to the server, and you will receive an echo for you IP address.
curl 10.20.30.40:8888