Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to download package "Invalid Port" #12

Open
LeonB87 opened this issue May 2, 2022 · 2 comments
Open

Unable to download package "Invalid Port" #12

LeonB87 opened this issue May 2, 2022 · 2 comments

Comments

@LeonB87
Copy link

LeonB87 commented May 2, 2022

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.

@idoop
Copy link
Owner

idoop commented May 4, 2022

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

@czen
Copy link

czen commented Feb 2, 2024

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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants