Skip to content

Commit

Permalink
better to replace the port 5000 with another one since Apple took it for
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bitmaybewise committed Dec 20, 2022
1 parent fac7559 commit 3d0fad7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/rack/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ scrape_configs:
- job_name: "rack-example"
static_configs:
- targets:
- "localhost:5000"
- "localhost:5123"
2 changes: 1 addition & 1 deletion examples/rack/run
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if ! installed vegeta; then
go install github.com/tsenart/vegeta@latest # newer versions of Go
fi

PORT=5000
PORT=5123
URL=http://127.0.0.1:${PORT}/

log "starting example server"
Expand Down
2 changes: 1 addition & 1 deletion examples/rack/unicorn.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
listen 5000
listen 5123
worker_processes 1
preload_app true

0 comments on commit 3d0fad7

Please sign in to comment.