Denis Kisina
Denis Kisina

Reputation: 404

403 Forbidden Error on Post request after upgrade of macOS from BigSur to Monterey

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.

Response Headers

Environment:

Has anyone experienced this?

Upvotes: 4

Views: 2515

Answers (2)

Aashish Biradar
Aashish Biradar

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

slauth
slauth

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

Related Questions