Skip to content

(GH-162) Fix azure arc port number#163

Merged
TraGicCode merged 1 commit into
mainfrom
GH-162-azure-arc-port-incorrect
Jul 8, 2026
Merged

(GH-162) Fix azure arc port number#163
TraGicCode merged 1 commit into
mainfrom
GH-162-azure-arc-port-incorrect

Conversation

@TraGicCode

Copy link
Copy Markdown
Owner

Azure arc listens on port 40342 by default and cannot be changed. This fixes azure arc support which was broken.

Closes #162

@mtanaka2

mtanaka2 commented Jul 8, 2026

Copy link
Copy Markdown

Thanks for the quick fix. I reviewed the diff and it correctly addresses the issue I hit — the Arc endpoint URL was defaulting to port 80 because the port was missing, causing "connection refused on 127.0.0.1:80". Adding :40342 (the fixed HIMDS default) resolves it, and I confirmed both call sites (the challenge request and the token request) are updated, with the native IMDS and service-principal paths left untouched. I haven't been able to run it fully end-to-end in my environment yet due to change-control constraints on our AWS compilers, but the code change matches exactly what I diagnosed. Code review LGTM, and I'll follow up with runtime validation once I can schedule the test.

@TraGicCode TraGicCode merged commit 80aa46c into main Jul 8, 2026
3 checks passed
@TraGicCode TraGicCode deleted the GH-162-azure-arc-port-incorrect branch July 8, 2026 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Azure Arc authentication targets port 80 instead of HIMDS default port 40342

2 participants