curl -i http://localhost:5000 I get a 403 Forbidden error.

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.

**HTTP/1.1 403 Forbidden
Content-Length: 0
Server: AirTunes/595.13.1**

Did anyone experience this?

Add a Comment

Replies

I'm developing locally using Postman and Jetbrains Rider IDE and am getting this also.

HTTP/1.1 403 Forbidden
Content-Length: 0
Server: AirTunes/566.30.1

I haven't found a resolution. It seems to happen intermittently. I'm going to update the OS with the latest update and try again.

I figured this out. Monterrey has Airplay Receiver listening on Port 5000. You can disable it in System Preferences => Sharing => AirPlay Receiver.

Here is more info.

https://developer.apple.com/forums/thread/682332