Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
On how Netflix enforces geographical boundaries in the Information Age..
At least where the Netflix browser-based apps are concerned, the geo-blocking occurs in two phases. The first step is the check of the client IP connecting to
netflix.com endpoints. If the client IP is deemed to be associated with known cloud hosting services, content will not be playable and the client will receive
Error Code: M7111-1331-5059.
If the client IP passes the check on
netflix.com endpoints, the client will attempt to play back content from the Netflix OpenConnect CDN. The
nflxvideo.net CDN endpoints will then perform a second check to make sure the client IP requesting the media is the same as the IP connecting to
netflix.com endpoints. If these do not match, the client will receive
Error Code: M7031-1111.
The following headers will also be present in the response:
HTTP status code: 420 X-Netflix-Geo-Check: failed