Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Access internet on Azure VM

Recentely, I deploy a worker role that it will connect to internet and attemp to access some websites (For example: http://somewebsite.redmond.corp.microsoft.com/en-us/library/).

It successfully access the websites on my development machine running on emulator. But on the Azure virual machine that I deploy my worker role to, it is not able to access the websites. I try to open the websites on VM browering in IE, it is also not able to.

Have u emcounter similar issues? How do u deal with it?

like image 315
Paul Zhou Avatar asked Oct 08 '22 09:10

Paul Zhou


1 Answers

This has nothing to do with accessing the Internet. The URL you provided isn't publicly visible (at least I can't access it from my machine). This means you're attempting to visit a URL behind a firewall, possibly requiring a VPN to access.

Windows Azure VM's, whether worker roles, web roles, or Virtual Machines, are in a public cloud and not behind any firewall. If you wanted to access it from a Windows Azure VM, you'd need to set up a Virtual Network, introduced in the Spring 2012 update. More information here.

like image 151
David Makogon Avatar answered Oct 13 '22 11:10

David Makogon