-1

Hi I'm new to VM Technology. I have a Microsoft Bizspark Account with Azure on it. I created a Virtual Machine, Windows Server 2012 and installed Xampp on it. Yeah I know it would be better to use IIS but I want to use Xampp. I will use PHP. So basically I installed Xampp and the Web Server is Running. I tried to access the VM's localhost on other computer or my computer via Public IP of the VM and I can't access the VM's localhost. Am I doing it wrong?

Thanks!

user3651491
  • 101
  • 1

1 Answers1

0

you need to open up the endpoint on your VM first and then use the CloudService Name to access the WebSite hosted on your machine. Localhost won't work but on the VM itself. If you did'nt create the VM in a Vnet you can also try to address the VM'sPublic ip and put that in your hosts folder to easily conenct (but that's a very bad practice :-) )

techmike2kx
  • 186
  • 1