Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Binding ProGet to a single IP

    Scheduled Pinned Locked Moved Support
    progetnetwork
    9 Posts 1 Posters 14 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      I can’t get ProGet to start. The machine has multiple IPs, and I only want ProGet to bind to one of them. I added a reservation to the correct URL (http://nuget.atg.analog.com:80/ ) but it fails to start:

      Application: ProGet.Service.exe
      Framework Version: v4.0.30319
      Description: The process was terminated due to an unhandled exception.
      Exception Info: System.Net.HttpListenerException
      Stack:
      
      Server stack trace: 
         at System.Net.HttpListener.AddAllPrefixes()
          
      All URL reservations on NWD2HSCJNKS2:
      http://*:2869/ (NT AUTHORITY\LOCAL SERVICE)
      http://*:5357/ (NT AUTHORITY\LOCAL SERVICE, BUILTIN\Users)
      https://*:5358/ (NT AUTHORITY\LOCAL SERVICE, BUILTIN\Users)
      http://+:47001/wsman/ (NT SERVICE\Wecsvc, NT SERVICE\WinRM)
      http://+:5985/wsman/ (NT SERVICE\Wecsvc, NT SERVICE\WinRM)
      https://+:5986/wsman/ (NT SERVICE\Wecsvc, NT SERVICE\WinRM)
      https://+:443/sra_{BA195980-CD49-458b-9E23-C84EE0ADCD75}/ (NT AUTHORITY\SYSTEM, BUILTIN\Administrators, NT SERVICE\SstpSvc)
      http://+:80/Temporary_Listen_Addresses/ (\Everyone)
      http://+:8733/Design_Time_Addresses/ (NT AUTHORITY\INTERACTIVE)
      http://127.0.0.1:47873/help/ (\Everyone)
      http://nuget.mydomain.com:80/ (MYDOMAIN\mfowler)
      

      Product: ProGet
      Version: 3.7.3

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        Strange; the configuration looks correct to me. You may want to try hosting using IIS (at least to see if that works). See this article for instructions on how to switch to IIS:

        http://inedo.com/support/kb/1013/hosting-buildmaster-or-proget-through-iis-instead-of-the-integrated-web-server

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          So it's not possible without using IIS?

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            It should work in either case. I just suggested using IIS temporarily as a troubleshooting step to see if that works. If IIS also does not work, then there may be some other configuration outside of ProGet causing a conflict.

            1 Reply Last reply Reply Quote 0
            • ? This user is from outside of this forum
              Guest
              last edited by

              Any update on when this will be supported?

              1 Reply Last reply Reply Quote 0
              • ? This user is from outside of this forum
                Guest
                last edited by

                This is already supported for both hosting options. If you look at the ProGet service configuration in Windows Services, what is the /urls="" argument set to for the "Path to executable"? If it's not the IP address, simply run ProGet.Service.exe as an Administrator and uninstall the service, then re-install supplying http://{ip-address}:80/ as the URL prefix to bind to if you only want a single IP address. If you enter a DNS host name there it will automatically bind to all IPs.

                1 Reply Last reply Reply Quote 0
                • ? This user is from outside of this forum
                  Guest
                  last edited by

                  Thanks Tod. It's finally working. You should update the documentation to state that the service has to be deleted and recreated every time there's a change in configuration. Most uses would assume these setting were stored in a config .xml, not hard coded into the service cmd line.

                  1 Reply Last reply Reply Quote 0
                  • ? This user is from outside of this forum
                    Guest
                    last edited by

                    Is this still accurate, it seems out of date and when trying to run the installweb command, it does not recognise the url parameter?

                    1 Reply Last reply Reply Quote 0
                    • ? This user is from outside of this forum
                      Guest
                      last edited by

                      This is now in Admin > All Settings, under ReservationUrls

                      1 Reply Last reply Reply Quote 0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      • 1 / 1
                      • First post
                        Last post
                      Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation