Here is a diagram of the architecture I want to achieve:
What I've done is to configure a Virtual network (I suppose I need one, right?).
I've put the VM inside the virtual network, and I've configured "point-to-site" so that the WebSite can communicate with it (it's now possible). I've also created an endpoint on the VM for port 9200, which is used by ElasticSearch.
But I must have forgotten or misunderstood something, because I can't get it to work. Trying to connect to the VM from the WebSite through the VM's internal IP address results in this error:
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.0.1.4:9200
There are so many different configuration options with subnets and gateways and address spaces, and I'm not sure what I need to set and what to leave as is.
Anyone has any idea that might help me move forward?
Any general thoughts on the solution I'm trying to create?
Thanks!
/john