Closed wiwski closed 1 year ago
Oh, I added port 5101
to inbound port rules and I could connect to http://euphro-stg-hsds.westeurope.cloudapp.azure.com:5101/about.
Is it the desired behavior ? I had the impression following the article I should access it via port 80 / 443.
Hi @wiwski, looks like you figured it out! The SN container is that one that handles client requests, the other containers are handle requests dispatched from the SN container.
You can change the port used by the SN container by setting the SN_PORT environment variable before starting the service. By default, it doesn't use port 80 just to make it less likely that there will be a port conflict.
I've updated the docs here: https://github.com/HDFGroup/hsds/blob/dockerdocs/docs/docker_install_azure.md. Does that seem more clear?
Makes sense. Yep, doc is clearer and it shows the user tweak the port configuration easily.
Open port 80 to web traffic: az vm open-port --port 80 --resource-group $RESOURCEGROUP --name $VMNAME
I would just have changed this line, to use SN_PORT
or set port
to 5101. Otherwise it won't work out of the box, isn't it ?
Good catch! I've updated that line.
Closing...
Hi,
I am having some issues trying to setup hsds on an Azure VM following this guide : https://github.com/HDFGroup/hsds/blob/master/docs/docker_install_azure.md
I just can't access $HSDS_ENDPOINT/about as I am getting the following error :
Port 80 is opened in networking rules, DNS name is set as well.
Here is the ouput of
docker ps
:I am not sure which service is supposed to take care of the http request ? It is probably a config error on my side, maybe you will spot it right away ?
Thanks !