Skip to content

Commit 73be69d

Browse files
committed
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 <hlmerscher@gmail.com>
1 parent ad6500b commit 73be69d

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

examples/rack/prometheus.yml

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)