user4951
user4951

Reputation: 33080

If our server has several IP and we use curl, what would the remote user see as the remote IP

The IP of the main server or the IP of the user of the script?

Say my server has 6 IP

123.123.123.122
123.123.123.123
123.123.123.124
...

One account, say in cpanel, has 123.123.123.124 as IP.

That account run a script curly formyip.com, for example.

What will it get? I think I can test this but if someone can give me a quick explanation that'll be great.

Upvotes: 0

Views: 233

Answers (1)

Happy
Happy

Reputation: 826

If your cpanel account has a dedicated IP of 123.123.123.124, then that is the IP the other end would see the request come from.

Upvotes: 1

Related Questions