Search code examples
azuregeoserver

How to access virtual machine (Windows Server 2008) from browser?


I am trying out the Free Trial Microsoft Azure. Basically I created an VM running Windows Server 2008 SP1.

There, I am running GeoServer, being able to access the geoserver from the local browser (eg: http://localhost:8080/geoserver/web)

Now, how to access this from a public browser? It has a public IP 13.93.154.109 which I can't even ping it, not to say to access it.

What did I miss out?

Note: I tried both classic/non-classic VM, result is the same. Also, I am aware that there is an OpenGeo Suite out there for Azure. But it costs a lot. What I am trying to do is, to share the VM with the other existing product.

Thanks in advance.

localhost-from-vm

P.S: I am able to ping 13.93.154.109:3389 using PsPing instead of normal Ping.


Solution

  • You need to open the port 8080 to allow traffic on your VM. Depending on how you have created the VM, it can be done in different ways: