request location
-
25. dubna 2012 5:37
I need requests from my azure server to originate from the region i've deployed.
I've deployed to asia but when I RDP and browse to a site i've developed, my google analytics account tells me the request is coming from North America.
Is there some way to ensure the reqest comes from the region i've deployed?
If this is not possible it rules out azure as deployment option.
Všechny reakce
-
25. dubna 2012 6:22
note: i'm connecting to APIs in Europe that block requests from the US.
thanks
Bart
-
25. dubna 2012 9:25Moderátor
Hi,
Could you create a new hosted service in Southeast Asia data center and deploy to it? I just had a test and could confirm the IP is from Singapore.
Allen Chen [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- Upravený Allen Chen - MSFTModerator 25. dubna 2012 9:28
-
25. dubna 2012 12:13
Hi,
I just deployed a test to West Europe and recieved a VIP of 168.63.6.11 - all requests from West Europe should be allowed but are being restricted.
accoring to this link the request is coming from New York:
http://www.geobytes.com/IpLocator.htm?GetLocation&IpAddress=168.63.6.11
various other geo locators come up no location at all.
I have other VPSs in these locations and everything works fine - I would like to stick with Azure but can see how to get around this?
-
25. dubna 2012 23:22
Update:
I guess I will have to continue using VPSs in these locations since Azure VMs [requests] fail intermittently depending on the allocated VIP. I could proxy all requests but this adds another layer of complexity to an already complex system.
Any further info or ideas appreciated.
thanks
- Upravený BLourigan 25. dubna 2012 23:26
-
26. dubna 2012 2:35Moderátor
Hi,
I could reproduce this issue. I've escalated this issue to our support team. We'll get back to you ASAP.
Allen Chen [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- Upravený Allen Chen - MSFTModerator 26. dubna 2012 2:35
-
2. května 2012 2:26
Hi Blourigan
We can use tracert command or online trace tools such http://traceroute.org/ to check the physical location.
Some online service all based on registration data and have nothing to do with the actual geographic location of the server that corresponds to that IP address.
Thanks
Leo Lin
-
2. května 2012 3:07
Thanks for the reply. I have checked with tracert & do believe the azure locations :)
Just to be clear about the scenario:
1. RDP to a VPS I have purchased in London:
- anonymously navigate to a sign up page: success
- run a console app that connects to their API via username and password: success2. Deploy a VM to west Europe on Azure and login via RDP:
- anonymously navigate to a sign up page: Fail - restricted region
- run a console app that connects to their API via username and password: Fail - restricted regionIn summary, I would expect azure servers in west europe to behave like a servers in west europe - not like servers located in USA.
Any further info appreciated.
- Upravený BLourigan 2. května 2012 4:59
-
4. května 2012 9:21
I am not sure what your code logical is here. Do you try to restrict any user access
your application by specified policy (such as IP range)?If so, I think you may tune your application and allow the VIP in the Azure to access.
It is not Azure VM issues, it is application issue which filter the wrong IP range.
Thanks
Leo Lin
- Upravený Jian SL-MSFT 4. května 2012 9:21
-
5. května 2012 1:17
Hi,
My application does not filter any IP range.My application connects to 3rd party Application Programming Interfaces (APIs) in Europe.
These 3rd party APIs block requests from USA.
When I deploy my application to West Europe (on azure) it does not work. The response from the 3rd party APIs is restricted location.
When I deploy my application to other servers in West Europe (not on azure) everything works fine.
In summary, I would expect azure servers in west europe to behave like a servers in west europe - not like servers located in USA.
-
15. května 2012 9:25
Can you let me know the detail Host Service name and deployment id?
I will check this and figure out this is our site issues or 3rd party API issues.
Thanks
Leo Lin
-
22. května 2012 6:40
Please check IP range for different data center
Thanks
Leo Lin
-
23. května 2012 3:33
Hi Leo,
thanks for the info. I've tried various deployment regions and requests still fail intermittently.
I'll log the issue with the third parties but won't be able to deploy to azure in the short term.
- Upravený BLourigan 23. května 2012 3:33