The Movie Database Support

I have seen that the "Rate Limiting" is by IP adress, but I use the same Cloudflare account for 3 different web pages and in the last month I receive many errors (...over the allowed limit of 40...).

My question is, this IP limit is given from the website DNS IP address?

As you already know, cloudflare have shared IP with thousands of websites with the same ip address, then, it may not be the best idea to use CloudFlare...

Many thanks.

8 replies (on page 1 of 1)

Jump to last post

i'm pretty sure that's not how it works.

when your code sends a request to tmdb they get the ip of the server/computer the request comes from, not cloudflare.

cloudflare is not a proxy or a vpn.

@fakku said: cloudflare is not a proxy or a vpn.

CloudFlare is a system that acts as a proxy (intermediary) between the visitors of the site and the server. By acting as a proxy, CloudFlare temporarily saves static content from the site, which decreases the number of requests to the server but still allows visitors access to the site.

@pepe2com said:

@fakku said: cloudflare is not a proxy or a vpn.

CloudFlare is a system that acts as a proxy (intermediary) between the visitors of the site and the server. By acting as a proxy, CloudFlare temporarily saves static content from the site, which decreases the number of requests to the server but still allows visitors access to the site.

in a way yes, but it's only when a user visits a site that uses cloudflare. not when the server itself sends a request to another server

test it yourself, it's easy:

<?php
echo file_get_contents("https://canhazip.com/");
?>

the above will return the ip address that canhazip.com sees, use whois on that ip and you'll see that it's not a cloudflare ip

Yes - https://canhazip.com - don`t use cloudflare: https://intodns.com/canhazip.com

I mean a website that uses this service, for example: https://intodns.com/hdfull.me

@pepe2com said:

Yes - https://canhazip.com - don`t use cloudflare: https://intodns.com/canhazip.com

I mean a website that uses this service, for example: https://intodns.com/hdfull.me

you don't seem to understand what i'm saying.

to make it simple for you, the movie db DOES NOT get your cloudflare ip when you make an api request to it.

Ok this file, will show only the IP of the second site: https://pepecinehd.online/clip.php

hdfull.me<br>
<?php
echo file_get_contents("https://hdfull.me/");
?>

<br><br><br>
canhazip.com<br>
<?php
echo file_get_contents("https://canhazip.com/");
?>

In this case how determine the movie db which is the IP address of the first page, since the main purpose of cloudflare is to HIDE the real ip address of the server

The IP address that is used for rate limiting will be the IP address of the computer making a request to api.themoviedb.org. So depending how you have things setup, this could be:

  1. The server your website is hosted on (assuming it's some PHP code that you wrote making requests to the API), so in this case, it could be a shared IP (if you have your site on a shared hosting provider for example) unless you're paying for a dedicated IP or are running your own instance in AWS/Google Cloud/etc.
  2. The end user (ie. browser) depending if you wrote your code that connect to TMDb in say, JavaScript.

The only way I can imagine a way that we'd ever be rate limiting a Cloudflare IP would be if you're using Cloudflare Workers. Otherwise, it's going to be one of the options above.

@pepe2com said:

Ok this file, will show only the IP of the second site: https://pepecinehd.online/clip.php

hdfull.me<br>
<?php
echo file_get_contents("https://hdfull.me/");
?>

<br><br><br>
canhazip.com<br>
<?php
echo file_get_contents("https://canhazip.com/");
?>

In this case how determine the movie db which is the IP address of the first page, since the main purpose of cloudflare is to HIDE the real ip address of the server

now you're just embarrassing yourself.

canhazip.com is a site that outputs the ip of the requester, if you go to it through your browser it will show you the ip of your computer

if your server goes to it, in this case makes a request through php's file_get_contents() it will return the ip address of your server

the ip address of your server is "2001:41d0:303:435a", this is an ipv6 address.

when a user goes to your website the request goes through cloudflare

when your server goes to a website it sends the server's ip address to that website, not cloudflare's ip

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login