question

wangying avatar image
wangying asked

Get client ip

Can I get client's ip when it execute cloudescript in script.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

No, that's not available. Can you describe what it is you're trying to do, exactly?

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

wangying avatar image wangying commented ·

I want client access different server by ip directly or I must have a proxy.

Maybe I should have a map of client ip and server in script.

0 Likes 0 ·
brendan avatar image brendan wangying commented ·

Can you please describe the feature you're trying to enable from a high level? Do you mean you'll be making a Web API call from the Cloud Script and want to determine the right endpoint to hit? Are you trying to build some kind of matchmaker? What specific purpose would the IP Address help with, and how would it be used?

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.