Skip to content

Commit 6c10ae1

Browse files
bitmaybewiseSinjo
authored andcommitted
better to replace the port 5000 with another one since Apple took it for
AirPlay Apple took the port 5000 on the latest MacOS Monterey update, to be used by AirPlay. Many people are not happy with that. It can be turned on/off easily, however, a better experience would take that into consideration and use a different port, considering that MacOS is widely by developers. Signed-off-by: Hercules Merscher <[email protected]>
1 parent 2bcf995 commit 6c10ae1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/rack/prometheus.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ scrape_configs:
1010
- job_name: "rack-example"
1111
static_configs:
1212
- targets:
13-
- "localhost:5000"
13+
- "localhost:5123"

examples/rack/run

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ if ! installed vegeta; then
2424
go install github.com/tsenart/vegeta@latest # newer versions of Go
2525
fi
2626

27-
PORT=5000
27+
PORT=5123
2828
URL=http://127.0.0.1:${PORT}/
2929

3030
log "starting example server"

examples/rack/unicorn.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
listen 5000
1+
listen 5123
22
worker_processes 1
33
preload_app true

0 commit comments

Comments
 (0)