Answer the question
In order to leave comments, you need to log in
What is the IP for outgoing PHP requests?
Hello,
To access the API, I needed to tell the IP from which the requests will originate.
I indicated the one that the hoster writes - but I was told that there were no calls from this IP. Then the technical support advised me to nslookup адрес_ftp_сервера
find out the real IP of the site using the command. It is indeed different from the IP of the whole server.
Therefore, the question arose: when a site makes outgoing connections / requests to other sites, does it burn its real IP? Does CloudFlare hide the real IP address of outgoing requests or just the server IP?
I would be grateful if you explain why the IP of the server and outgoing requests are so different.
Answer the question
In order to leave comments, you need to log in
From the console, you can find out "your" ip like this:
wget https://ipinfo.io -qO-
If they are dynamic, then of course, it makes no sense to send new ones to api technical support every time.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question