Reputation: 404
I upgraded my macOS from BigSur to Monterey yesterday, and now I can not make POST requests in postman to my application. when I run curl -i http://localhost:5000
I get a 403 Forbidden error.
Environment:
Has anyone experienced this?
Upvotes: 4
Views: 2515
Reputation: 21
This is because the “AirPlay Receiver” in macOs Monterey uses port 5000. so it can be fixed by disabling AirPlay Receiver service from System preferences. Check this post for more info https://developer.apple.com/forums/thread/682332
Upvotes: 2
Reputation: 3178
Notice the Server
line – it's not your application that is responding. See Why is Control Center on Monterey listening on ports?.
Upvotes: 1