Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Fix for Kiro IDE Login Issue on Windows – Port 3128 Conflict

Open pricisTrail opened this issue 1 year ago • 5 comments

Operating System

windows 10 22h2 & windows 11 24h2

Kiro Version

0.1.6

Bug Description

Kiro IDE uses port 3128 during the login process. On Windows, this port is often part of a system-reserved exclusion range, which blocks the IDE from binding to it(even if you run kiro as admin mode). As a result, the login process fails silently, and users are unable to proceed. fix - 1)netsh int ipv4 set dynamicport tcp start=50000 num=15536 2)Reboot your system to apply the changes. 3)Manually reserved port 3128 so that Windows no longer blocks it: netsh int ipv4 add excludedportrange protocol=tcp startport=3128 numberofports=1

thanks kiro is great , it was very hard for any user to fix this. It would be great if i get small bonus after some time i am getting into my college this would help me to buy some online courses.

Steps to Reproduce

Kiro IDE uses port 3128 during the login process. On Windows, this port is often part of a system-reserved exclusion range, which blocks the IDE from binding to it(even if you run kiro as admin mode). As a result, the login process fails silently, and users are unable to proceed. fix - 1)netsh int ipv4 set dynamicport tcp start=50000 num=15536 2)Reboot your system to apply the changes. 3)Manually reserved port 3128 so that Windows no longer blocks it: netsh int ipv4 add excludedportrange protocol=tcp startport=3128 numberofports=1

thanks kiro is great , it was very hard for any user to fix this. It would be great if i get small bonus after some time i am getting into my college this would help me to buy some online courses.

Expected Behavior

.

Conversation ID

No response

Additional Context

No response

pricisTrail avatar Jul 16 '25 20:07 pricisTrail

Hey, @pricisTrail this looks like it's a duplicate of https://github.com/kirodotdev/Kiro/issues/71. We'll close this issue in favor of that one, but please feel free to provide any updates or additional context on that issue.

cwomack avatar Jul 16 '25 23:07 cwomack

Hi, I am Linux user, I can’t seem to sign in, it just gets stuck and does not redirect to the sign method page

gustav2k22 avatar Jul 19 '25 11:07 gustav2k22

@gustav2k22 check if the port 3128 is blocked by linux or not

pricisTrail avatar Jul 21 '25 12:07 pricisTrail

why not login

Rajan875514 avatar Jul 28 '25 01:07 Rajan875514

Suddenly logged out in macos, and upon re-login, it redirects to the browser and gets stuck at http://localhost:49153/oauth/callback?code=XXXX

aetherbem avatar Jul 29 '25 14:07 aetherbem