Technical Anshu
Tutorials Blog
🔌 Port Conflict Fix

Jira Port 8080 Already in Use Find the Program Blocking It and Free the Port

Jira's Java process starts, reaches for port 8080, finds another program already holding it, and gives up. Two commands tell you exactly who the squatter is.

✍️ Technical Anshu🪟 Windows Server⏱️ 8 minute read
🎥 Watch the full fix in the video — every step shown live on screen

Only one program can listen on a port at a time, and Jira's web connector wants 8080 by default. Port conflicts appear right after something else lands on the server: a second Atlassian tool, a test copy of Tomcat, a monitoring agent with a web dashboard, or even a leftover Jira process that never really died. The log line is always the same - java.net.BindException: Address already in use. This page shows how to identify the owner by PID, decide whether it or Jira should move, and make the change without breaking anything else.

Command Prompt (Administrator) - who owns port 8080 (illustration)
netstat -ano | findstr :8080 TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 7312 tasklist | findstr 7312 tomcat9.exe 7312 Services 0 412,540 K
One command finds the port owner, the next names it. Example values shown as an illustration.
1

Confirm the Port Is Really the Problem

Do not guess. The catalina log states this fault in plain words, and confirming it takes one minute. If the log instead shows a database or Java error, the port is innocent and this page is not your fix.

  1. Stop the Jira service so you are reading a clean, finished log
  2. Open the newest catalina log in the logs folder of the Jira install directory
  3. Search for BindException or Address already in use
  4. If it is there, the same block names the connector that failed - usually http-nio-8080
2

Find the Owner With netstat and tasklist

Windows knows exactly which process owns every listening port. The PID - the process ID number - is the bridge between the network view and the process view.

  1. Open Command Prompt as Administrator
  2. Run netstat -ano | findstr :8080 and note the PID in the last column of the LISTENING line
  3. Run tasklist | findstr 7312 - replace 7312 with your PID - to see the program name
  4. Read the result honestly: if the owner is a java.exe or Tomcat, it may be a zombie Jira process or a second Jira; if it is another product, that product got to the port first
3

Choose the Right Fix - Move the Squatter or Move Jira

Both fixes work, but they are not equal. Stopping a stray process is cleanest when the squatter is a leftover or a test install nobody needs. Moving Jira's port is better when the other program is a real production tool - but remember that Jira's port lives inside every bookmark, every integration and the Base URL your users know.

  1. If the owner is a leftover Jira or Tomcat process: stop its service, or end it from Task Manager's Details tab, then start Jira normally
  2. If the owner is a needed application: decide which tool your organisation can re-port with less pain - test tools move, production tools usually should not
  3. To move Jira: stop the service, open server.xml in the conf folder of the Jira install directory, and change the Connector port from 8080 to a free port such as 8081
  4. Check the new port is free first with the same netstat -ano | findstr :8081 command
  5. Update Jira's Base URL in Administration settings after it starts, and tell users the new address
  6. Start the Jira service and browse to the new port to confirm
4

The Zombie Process Trap

One special case deserves its own warning: sometimes the squatter is Jira itself. If a previous Jira process hung during shutdown, Windows may still hold the port while the service shows Stopped. Starting the service then fails against its own ghost. Ending the orphaned Java process from Task Manager, confirming the port is free, and then starting the service resolves it - and a server reboot clears it too, at the cost of downtime for everything else on the machine.

  1. In Task Manager's Details tab, look for java.exe processes started around the time Jira last ran
  2. Confirm the port's PID matches one of them before ending anything
  3. End only that process, re-run the netstat check, and start the service
🔴 Before you end any process: a PID on a shared server can belong to a tool another team depends on. Identify it, and if it is not yours, talk to its owner instead of killing it. A freed port is a small win; taking down the office monitoring system to get it is not.

🎥 See the Complete Fix in the Video

The full Jira startup repair, step by step, with the exact screens and log lines shown live.

▶️ Watch Full Video
❓ Common Questions (FAQ)

How do I know which port my Jira is actually configured to use

Open server.xml in the conf folder of the Jira install directory and find the Connector element - its port attribute is the HTTP port, 8080 by default. Also check the address users browse to: if a proxy such as IIS or Nginx sits in front of Jira, users may connect on port 80 or 443 while Jira itself still listens on 8080 behind it.

I freed the port but Jira still will not start. What now

Then the port was only one fault, or not the fault at all. Go back to the newest catalina log after this latest start attempt and read the first SEVERE error again - with the port fixed, the log will now show the next stage's problem, commonly the database connection or a Java mismatch. Startup faults reveal themselves one layer at a time; that is normal, not a sign you made it worse.

Can two Jira instances share one server

Yes, but each needs its own install directory, its own Jira home directory, its own database, and its own port. A test instance installed carelessly with the default port is one of the most common reasons a production Jira suddenly fails after working for months - the test instance simply started first.

This guide is based on the Technical Anshu video on fixing a Jira that will not start • Stuck on a step? Ask in the video comments — you will get a reply 🙏