Windows Azure - can I run the web role and worker role on the same virtual machine?

I need a web role for my site, but I also want this site to communicate with another standalone application that I developed.

I do not see the need to have two virtual machines. Can I have my working role on the same virtual machine as my wrb role?

What is needed to stop RDP'ing when loading my application?

This role, in particular, requires connections with a high port number — do I need to change anything to allow this? (aparf from windows firewall in virtual machine)

(So ​​far, Azure has made my life a lot harder than just paying for a hosted server)

+3
source share
2 answers

SO, , ... - Windows 2008 IIS . -, , . ... , . //.

tcp, http https. 25 ( ).

RDP . . Windows Azure: webrole.cs workerrole.cs , , Run() ( - ). - (, MSI ), ), , , . . ... , , ( - , , , , ...).

, :

+4

, Windows, -.

WebRole RoleEntryPoint, Windows Services . , , IIS .., script .NET- . , , .

+1