Skip to content

IPv6 Docker Bindings - Port 9001 #1334

@thefathacker

Description

@thefathacker

Acknowledgements

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions