Open multiple ports and return OK.
Option | Description | Default |
---|---|---|
-p | Start Port Number | 58000 |
-n | Count | 1 |
$ portserver -p 58000 -n 100 &
Open Port From 58000 to 58099
....
$ curl http://localhost:58000
OK
go build
GOOS=windows GOARCH=amd64 go build # for windows