Forum Discussion
Quartus Programmer 21.1: JTAG Server Error Code 82 – Port 1309 Cannot Be Bound
Hello Altera Community,
I am working on an FPGA project using a Cyclone IV FPGA development board and an Altera USB-Blaster.
I am currently unable to program the FPGA because Quartus Programmer cannot access the JTAG server.
System details:
- OS: Windows 11 64-bit
- Software: Quartus Programmer 21.1
- Installation path: C:\intelFPGA\21.1\qprogrammer
- Programmer: Altera USB-Blaster
- FPGA: Cyclone IV development board
The USB-Blaster is detected by Windows Device Manager and the driver is installed. The USB-Blaster also powers on normally.
However, Quartus Programmer gives:
"Attempted to access JTAG server -- internal error code 82 occurred"
When I run:
jtagconfig
I get:
Error when scanning hardware - Server error
Sometimes it also hangs at:
Connecting to server(s) [...]
I checked the JTAG server using:
jtagserver --status
It reports:
Installed JTAG server is
'C:\intelFPGA\21.1\qprogrammer\bin64\jtagserver.exe'
Server is stopped
Remote clients are disabled
I tried reinstalling the JTAG server:
jtagserver --install
jtagserver --start
But the server immediately stops.
I also tried:
net start "Altera JTAG Server"
The result was:
The Altera JTAG Server service could not be started.
The service did not report an error.
NET HELPMSG 3534.
I then ran:
jtagserver.exe --foreground
and received:
Unable to bind changedetect socket: 10048
Can't bind to TCP port 1309 - exiting
I checked the port using:
netstat -ano | findstr 1309
and found that TCP port 1309 was being used/listened to by another process, for example PID 12888.
I tried terminating the process using:
taskkill /F /PID 12888
but Windows reported:
ERROR: The process with PID 12888 could not be terminated.
Reason: There is no running instance of the task.
I also tried stopping the JTAG server, reinstalling it, and restarting it.
In addition, I already tried the following:
1. Disabled PCI Express → Link State Power Management.
2. Disabled USB Root Hub power saving ("Allow the computer to turn off this device to save power").
3. Stopped the Print Spooler service.
4. Closed Quartus/Programmer-related applications.
5. Reinstalled the JTAG Server.
6. Restarted the computer.
7. Tried starting the JTAG server manually.
8. Checked TCP port 1309 using netstat.
The problem still remains.
My main questions are:
1. Why is Quartus Programmer 21.1 unable to start the JTAG Server?
2. What is causing TCP port 1309 to remain occupied?
3. Is there a known issue with Quartus Programmer 21.1 and Windows 11?
4. Is there a recommended patch, driver, or newer Quartus Programmer version for this problem?
5. Is it possible to configure the JTAG server to use another TCP port?
6. What is the correct way to completely remove and reinstall the JTAG Server on Windows 11?
7. Is there anything else I should check before reinstalling Quartus Programmer?
I would appreciate any guidance on how to get the JTAG Server running so that jtagconfig can detect my USB-Blaster and FPGA.
Thank you.