docker-nuget-server icon indicating copy to clipboard operation
docker-nuget-server copied to clipboard

Unable to download package "Invalid Port"

Open LeonB87 opened this issue 3 years ago • 2 comments
trafficstars

I'm hosting the idoop/docker-nuget-server image on Azure and am trying to install an uploaded image. This doesn;t work ad i get an "invalid port" error.

relevant configuration in app service config:

image

publishing an image and finding it works without an issue. But installing the module is trying to retrieve the package from port 80 instead of 443.

image

manually going to the same url with 443 works.

setting the environment variable to 443 breaks the container and it wont start anymore.

LeonB87 avatar May 02 '22 13:05 LeonB87

Hi @LeonB87 , Please keep the port in nginx.conf consistent with the external port.

idoop avatar May 04 '22 09:05 idoop

I've stumbled on this issue today too, happens if I run this container with non-standard port set. Running on default port 80 on a dedicated domain works fine, packages are published and downloaded. Non-standard port always causes 'invalid port' in nuget cli .

czen avatar Feb 02 '24 21:02 czen