Thanks for reaching out. I tested this really quickly and it worked both the domain name and the IP (see attached screenshot).
I discussed this with the team and we couldn’t think of another reason other than a weird network rule blocking the traffic using the raw IP. Perhaps you should get in touch with your network admins and see if they can trace the packages of that command and see what they find?
There are some network configurations that are at play here. Our octopus server is in a trusted zone, while the web servers are in a DMZ. To allow them to connect we are using a NAT to map the dmz ip to a trusted one.
Using wireshark to see what kind of traffic the tentacle was generating when using the ip produced zero results (i.e. there was no traffic).
The machine could connect to octopus using the ip in the browser. It could also connect using the tentacle if we added a mapping to the host file.
I also added an ip binding in octopus.
I also could not add a port to the IP when using tentacle.exe
I’m afraid we can’t think of any other troubleshooting steps at this point. We’ve got tons of users using that register-with command daily, and this is the first time we see it fail for both DNS and IP. It definitely looks like an environmental issue on that machine/network that’s beyond the scope of Octopus. I’m glad to hear you found a workaround though.
We’ll stay alert to see if other users run into a similar issue and redirect them to this thread in that case to continue the investigation.
This issue has been closed due to inactivity. If you encounter the same or a similar issue and require help, please open a new discussion (if we asked for logs or extra details in this thread, consider including them in the new thread). If you are the creator of this thread and believe it should not be closed let us know via our support email.