When adding new octopus deploy connection, it asks for the server URL. What is the server URL that I should be giving? My Octopus server is hosted in the VM whose IP address is 10.228.111.5(for example) and this VM is in different domain, what should be the server URL? I tried using https://10.228.111.5/#app. This was the link of the octopus server in the machine. Also, where can I find the port number for which the octopus is configured? Is that needed in the server URL? Please let me know if this is correct. Also, let me know if there is way to verify that the octopus deploy connection is success after entering the information.
Attachment: Added the screenshot which was in the tutorial just to identify my question.
Thanks for reaching out! Let me give you a hand with those questions.
Q - What is the server URL that I should be giving?
The root URL of your Octopus Portal. If you are using https://10.228.111.5/#app to browse the portal, then the root URL would be https://10.228.111.5 without the /#app.
Q - Also, where can I find the port number for which the octopus is configured?
If you open the Octopus Manager on the VM hosting Octopus, you can see the bindings the portal is listening on at the top left corner. See attached screenshot.
Q - Is that needed in the server URL?
Yes. Unless its listening on port 80 which is the default http port, in which case you can put ``https://10.228.111.5orhttps://10.228.111.5:80` and It’ll work.
Q - Also, let me know if there is way to verify that the octopus deploy connection is success after entering the information.
The TFS platform doesn’t give us a way to set this kind of test unfortunately. The only way to test it would be to run an Octopus-related step in your build process.
Thanks for the reply. I do have one question though. In the screenshot I attached, there is note below the fields mentioning that, " The Ocotpus URL must be accessible from both TFS and all the agents. I cannot understand the meaning of this particular statement.
As mentioned earlier, my Octopus server is hosted in VM and TFS is in my desktop. Is that an issue?
The TFS build is going to be making API calls to Octopus through that URL. That message means that the connection between the TFS server/agent and Octopus must work so those API calls reach their destination.
As mentioned earlier, my Octopus server is hosted in VM and TFS is in my desktop. Is that an issue?
As long as your TFS server can reach your Octopus Server using that URL, you’ll be good to go.