UTMStack icon indicating copy to clipboard operation
UTMStack copied to clipboard

IPv6 Docker Bindings - Port 9001

Open thefathacker opened this issue 3 months ago • 0 comments

Acknowledgements

  • [x] I have searched (https://github.com/utmstack/UTMStack/issues) for past instances of this issue
  • [x] I have verified that my UTMStack version is up-to-date

Describe the bug

Hi, I run dual-stack a ipv4/6 network. When attempting to install the Agent service on I need to change URL from https:://[dnshostname]:9001/private/dependencies/agent/utmstack_agent_service.exe to https:://[ipaddr]:9001/private/dependencies/agent/utmstack_agent_service.exe as the connection is attempting to connect with ipv6 if that name is resolved instead of ipv4. and the curl command is timing out after 5 minutes.

PS C:\Users\Admin> New-Item -ItemType Directory -Force -Path "C:\Program Files\UTMStack\UTMStack Agent"; & curl.exe -k -o "C:\Program Files\UTMStack\UTMStack Agent\utmstack_agent_service.exe" "https://[dnsaddr].net/private/dependencies/agent/utmstack_agent_service.exe"; Start-Process "C:\Program Files\UTMStack\UTMStack Agent\utmstack_agent_service.exe" -ArgumentList 'install', '[dnsaddr]', '[key]', 'yes' -NoNewWindow -Wait


    Directory: C:\Program Files\UTMStack


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----        14/09/2025   6:14 PM                UTMStack Agent
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1572  100  1572    0     0   5414      0 --:--:-- --:--:-- --:--:--  5458
Start-Process : This command cannot be run due to the error: The file or directory is corrupted and unreadable.
At line:1 char:265
+ ... rvice.exe"; Start-Process "C:\Program Files\UTMStack\UTMStack Agent\u ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Start-Process], InvalidOperationException
    + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand

From what I am able to see the service listening on 9001 is not listening for ipv6, I can confirm I can ping and otherwise access the web service interface.,

Regression Issue

  • [ ] Select this option if this issue appears to be a regression.

Expected Behavior

Installs Agent

Current Behavior

Does not install agent

Reproduction Steps

Install Agent using dual stack ipv4/6 network with dns hostname returning ipv4 & ipv6 A/AAAA response

Possible Solution

Confirm Service Binding for ipv6

Additional Information/Context

New Build

UTMStack Version

10.9.1

Operating System and version

Ubuntu 24.04.3 LTS x86_64

Hypervisor and Version | Server Vendor and Model

KVM/QEMU (Standard PC (Q35 + ICH9, 2009) pc-q35-9.0) Proxmox

Browser and version

Windows Server 2022 Powershell

thefathacker avatar Sep 15 '25 04:09 thefathacker