How to connect to a server hosted on an Azure virtual machine? - azure

I'm running a RavenDB server on a virtual machine on Azure using port 8080. I can access it on localhost:8080 when I log into the virtual machine.
I added endpoint (public: 8080, private: 8080) on manage.windowsazure.com. However, when I try to access the server remotely through some web browser, it says it can't be found.
What else should I do? I'm running Windows Server 2012 on the virtual machine.

Normally this equates to a firewall issue on the Windows Server virtual machine. Did you make sure you have a rule allowing for incoming tcp traffic on port 8080?

Related

Cannot connect to my website running on Azure VM

I cannot seem to connect to my website running on Azure VM. I have looked through every single Azure docs.
I allowed incoming connections to port 80 per documentation:
I have a very basic Hello World nodejs app listening on port 80 (i confirmed this app works locally my own system):
I am attempting to connect to the site via the Public IP assigned to me that i see in Azure Portal:
The problem is any attempt to connect to 40.XXX.XXX.230:80 in Chrome simply times out.
I am new to VM's but i think something is wrong with port forwarding?
Another thing to check:
Remote desktop into the virtual machine, and confirm that the virtual machine's local firewall allows incoming HTTP and HTTPS connections.

Access Ubuntu Server VM on Azure

I've setup an Ubuntu Server on Azure. On this server, an application is running on port 3000. I want to access this application external. Azure tells me my server has public ip 40.68.XXX.XXX.
When I ping this IP, there is no response, despite ssh works when connecting to this IP-address.
I want to access 40.68.XXX.XXX:3000 external, does somebody know how to get this work?
Yes, you need to open up a port on the Network Security Group (NSG) and open up the port on your firewall (on the VM itself).
Easiest way to open the port is using the portal:
https://learn.microsoft.com/en-us/azure/virtual-machines/virtual-machines-windows-nsg-quickstart-portal

Cannot access Neo4j browser on a Windows Server

I have a Windows Server 2012 virtual machine provisioned on Azure. I installed Neo4j server on this virtual machine and I'm accessing the Neo4j browser on localhost:7474.
However I cannot access the browser outside using my virtual machine's public IP e.g <machineIP:7474>
Here's what I have done so far:
In the Azure portal, I added inbound rules for the NSG to allow http and https ports 80 and 443 (I have done the same on a Linux virtual machine also hosted in Azure and I can access the browser just fine)
I also added an inbound rule in Windows Firewall to allow Port 80 and 443 as well
What possibly blocks me from accessing the virtual machine's IP from the outside?
You have to add TCP port 7474 to the firewall in the Azure portal:
change your neo4j-server.properties
set
org.neo4j.server.webserver.address=0.0.0.0
To remotely access Neo4j installed on a Windows VM in Azure, these are the changes you'll need to make:
In the Azure portal, add TCP port 7474 to the Endpoints of your Windows VM
On your Windows VM, in the Windows Firewall Advances Security, add a new Inbound Rule for port 7474
Change the conf/neo4j.conf and uncomment this line:
org.neo4j.server.webserver.address=0.0.0.0
Note: In case you also want full access to Neo4j's browse interface including Bolt, then also add port 7687 both in the Azure Endpoints and the Windows Firewall.

Azure VM (ARM) external port not working

I am trying to open port 8080 in a Windows Azure virtual machine. I have a test website listening in that port, and I am able to access it via localhost, so the website is running.
I have also opened the port in the firewall and created an inbound security rule in azure portal for the virtual machine, but the port doesn't seem to be open to the outside world. I have tried accessing it both via the IP address and the DNS with the same results.
Is there anything else I should be doing?

Hyper-V Web Server in Windows Server 2012 Not Accessible Externally

I have a Windows Server 2012 running Hyper-V which has a virtual server running Windows Server 2012. Both the physical and virtual server are connected to a domain (hosted on a separate server) and both are assigned static IPs. The virtual server is running IIS and the website is running and accessible within the network. However, I cannot see the website outside of the network. I've opened the port on the router and pointed the port to the virtual servers IP address. Any suggestions you can offer would be helpful!
I was using the wrong port. Because I have another web server running using up port 443 I had arbitrarily chose to use port 445 for the new web server and I found out that that is a reserved port. So I switched to port 8080 and opened up the port on the windows firewall and now it's working perfectly!

Resources