IP Utils

免费
通过 marksutuer | 已更新 23 दिन पहले | Other
Health Check

N/A

返回所有讨论

Wrong IP

Rapid account: Neurone
neurone
10 वर्ष पहले

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 10 वर्ष पहले

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 10 वर्ष पहले

+1

Rapid account: Parsify
parsify Commented 10 वर्ष पहले

+1

Rapid account: Marksutuer
marksutuer Commented 10 वर्ष पहले

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 10 वर्ष पहले

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

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论