IP Utils

FREE
By marksutuer | Updated vor 15 Tagen | Other
Health Check

N/A

Back to All Discussions

Wrong IP

Rapid account: Neurone
neurone
vor 10 Jahren

The api says Iโ€™m on โ€œ54.234.148.191, 23.21.64.131โ€. I really canโ€™t understand why it responds with two IP addresses, anyway both of them are referred to AWS machines and none of them is mine. While I write this note, others online sites agree to say my IP is 94.34.72.31.

Rapid account: Neurone
neurone Commented vor 10 Jahren

Just found the solution: I was using the test client functionality, so those are probably the mashape server ip addresses. ^^

Rapid account: Mashaper
mashaper Commented vor 10 Jahren

+1

Rapid account: Parsify
parsify Commented vor 10 Jahren

+1

Rapid account: Marksutuer
marksutuer Commented vor 10 Jahren

Yes, you are right ๐Ÿ˜ƒ

Iโ€™m not sure if I have to remove the Mashape Proxyโ€™s IPโ€ฆ anyway thanks for using my little API ๐Ÿ˜ƒ

Rapid account: Mashaper
mashaper Commented vor 10 Jahren

You should parse the โ€œX-Forward-Forโ€ header and only get the first IP. The list of IPs is delimited by a comma, spec: http://en.wikipedia.org/wiki/X-Forwarded-For#Format

Join in the discussion - add comment below:

Login / Signup to post new comments