• Latest
  • Trending
  • All
Answer card: free a busy port on Linux by finding the PID with sudo lsof -i :8080 then running kill, or kill -9 as a last resort.

How to kill the process using a port on Linux

16 June 2026
Answer card stating that Anthropic announced Enterprise Frontier Safeguards on 1 September 2026, that activity data used for misuse monitoring moves into cloud storage the customer controls under the customer own encryption keys, that Anthropic charges nothing for the feature while the cloud provider bills storage and egress, and that the phased rollout starts later in autumn 2026 with interim zero data retention on Fable 5 and Fable 5.1 for eligible customers.

Enterprise Frontier Safeguards: 30 days, in your own cloud

2 September 2026
Official Google diagram of a client connection in three numbered steps: a DNS lookup with a query and an address, a TLS ClientHello and ServerHello, then a content exchange with a website. A callout on the DNS step reads 25% of global web traffic is now protected by encrypted DNS, and a callout beside an Android phone on the ClientHello step reads Android 17 supports ECH GREASE by default.

Android 17 turns ECH on: what your network still sees

2 September 2026
Still frame from the Claude Fable 5.1 launch video showing model-designed protein binders in orange docked against twelve grey target proteins, rendered as ESMFold2 structure predictions.

Claude Fable 5.1 breaks forced tool use, cuts cache 75%

1 September 2026
Answer card stating that on 31 August 2026 the European Commission designated ChatGPT a Very Large Online Search Engine under the Digital Services Act, the first conversational AI service classified that way, because it answers user prompts and queries including by searching the web, with OpenAI having declared roughly 159.1 million average monthly users in the European Union for ChatGPT search.

ChatGPT is a VLOSE now: what the EU DSA label changes

1 September 2026
Answer card stating that on 31 August 2026 the Department of War added OpenAI ChatGPT Mil and Starshield AI Grok for Government to the GenAI.mil portal alongside Google Gemini, all three accredited at Impact Level 5 for Controlled Unclassified Information, with 1.7 million unique users onboarded out of roughly 3 million eligible personnel, and ChatGPT Mil currently serving GPT-5.4 Terra with GPT-5.6 Terra said to be rolling out.

ChatGPT Mil and Grok on GenAI.mil: IL5, GPT-5.4 Terra

1 September 2026
Answer card stating that Anthropic opened a research preview of the Model Hardware Standard on 27 August 2026, standardising the driver layer between an operating system and a laboratory instrument with read and write primitives plus discovery and safety limits, reachable through MCP as well as a command line and code files, with no public specification published.

Model Hardware Standard: MHS is gated, and MCP sits above

31 August 2026
Official Cohere key art for the Parse 5 launch: the Cohere mark and the wordmark Parse with a superscript 5 in white, centred on a soft out of focus gradient of deep blue, violet and amber curves.

Cohere Parse 5: $1.50 per 1,000 pages, 3 of 5 dimensions

31 August 2026
Title card from the OpenAI announcement video: a man sits on a blue sofa in a loft with tall windows and potted plants, a laptop open on the coffee table in front of him, with the words WebMCP in ChatGPT in large white type across the lower left.

ChatGPT Site tools: WebMCP needs GPT-5.6 Sol or Terra

31 August 2026
The Agentic Coding section of the official Hy4 preview benchmark appendix published by Tencent, a table comparing Hy3 and Hy4 preview against DeepSeek V4 Pro 0813, Qwen 3.8 Max, GLM 5.3, Kimi K3, GPT 5.6 Sol and Claude Opus 5 across SWE-bench Multilingual, SWE-bench Pro, DeepSWE, three SWE Atlas tasks, SWE-Marathon, Terminal-Bench 2.1, NL2Repo-Bench, CyberGym, ProgramBench, PostTrainBench and Harbor-Index.

Tencent Hy4 preview: 770B, one top score in 46

30 August 2026
Official Qwen architecture diagram for Qwen3.8-Flash-Next, showing input tokens feeding a vocabulary embedding and a separate n-gram embedding layer at layer 2, a stack of Gated DeltaNet layers punctuated by Qwen Sparse Attention layers in a three to one hybrid block, Gated Residual read and write gates around each MoE block, and MTP modules beside the prediction head.

Qwen3.8-Flash-Next: 6B active, 173 GiB on disk

30 August 2026
Answer card stating that a 59-page order signed 27 August 2026 by Judge Rita Lin vacated the supply chain risk designation applied to Anthropic and granted a permanent injunction, on findings of First Amendment retaliation and a designation reaching past 10 U.S.C. section 3252, six months after the February directive.

Anthropic v. Pentagon: supply chain risk label vacated

30 August 2026
Answer card stating that the Wall Street Journal reported on 27 August 2026 that Nvidia stepped back from parts of the AI Compute Partnership financing programme launched on 1 July, after internal warnings about antitrust scrutiny and provider pushback over Nvidia approving their end customers, that Nvidia says the business model is still in place, and that its quarterly filing books 36 billion dollars of AI cloud agreements with none of it before fiscal 2028.

Nvidia pauses its $36B AI Compute Partnership

29 August 2026
  • About
  • Contact
  • Privacy
  • Legal
Thursday, September 3, 2026
  • Login
PacketNebula
  • Home
  • Articles
    • Security
    • Network
    • Dev
    • Sysadmin
    • SEO
    • Email & DNS
  • Tools
    • Network tools: free, fast, no signup
    • Security tools: free, fast, no signup
    • Developer tools: free, fast, no signup
    • Sysadmin tools: free, fast, no signup
    • SEO tools: free, fast, no signup
    • Email & DNS tools: free, fast, no signup
  • Download
  • About
No Result
View All Result
PacketNebula
No Result
View All Result
Home Sysadmin

How to kill the process using a port on Linux

by stephane
16 June 2026
in Sysadmin
0
Answer card: free a busy port on Linux by finding the PID with sudo lsof -i :8080 then running kill, or kill -9 as a last resort.
491
SHARES
1.4k
VIEWS
Share on FacebookShare on Twitter

Your server won't start and the terminal throws 'address already in use'. Something's squatting on that port, and sudo lsof -i :8080 (or ss -ltnp on a leaner box) tells you what: the PID column is your culprit. We send a polite kill PID first and keep kill -9 for the ones that ignore us. Below: how to read the lsof output, why SIGTERM comes before SIGKILL, a fuser one-liner that finds and kills in one shot, plus what's actually going on when the port looks busy but lsof shows nothing at all.

The short answer

sudo lsof -i :8080 (or ss -ltnp) shows the PID holding the port. kill 4821 asks it nicely; kill -9 4821 is for when it won’t listen. The “address already in use” error clears the moment the process exits.

lsof -ifind the PID
kill / -9gentle, then forced
fuser -kthe one-liner
Answer card showing sudo lsof -i :8080 to find the PID on a port, then kill to free it, on Linux.
Find the PID, stop it gently, force it only if you must.

Step 1: find the PID on the port

Linux
sudo lsof -i :8080

The PID column is the one we’re after. No lsof on this box? sudo ss -ltnp | grep :8080 does the same job, and sudo fuser 8080/tcp prints just the PID, nothing else.

Step 2: stop it cleanly (SIGTERM)

Linux
kill 4821

Plain kill sends SIGTERM. That’s a request: the process gets to close its files and release the port properly. Give it a second, then re-run the lsof from Step 1 to check it’s gone.

Step 3: force it only if needed (SIGKILL)

Still holding the port after SIGTERM? Escalate:

Linux
kill -9 4821

kill -9 sends SIGKILL, which can’t be caught or ignored. The process dies on the spot with zero chance to clean up, which is exactly why we keep it as the last resort and not the opening move.

Terminal showing sudo lsof -i :8080 finding node on PID 4821, then kill 4821 and kill -9 4821 as a fallback.
lsof to find it, kill to stop it, kill -9 only when it digs in.

The one-liner

Once you’re sure what’s sitting on the port, one command does the find and the kill:

Linux
sudo fuser -k 8080/tcp

Prefer lsof? sudo kill -9 $(sudo lsof -t -i:8080) does the same thing.

When lsof shows nothing

Port looks busy, lsof comes back empty. Two usual suspects. The socket may be sitting in TIME_WAIT, cooling down after a close; no process holds it, and it frees itself shortly. Or the owner runs as root and you forgot sudo, so you just couldn’t see it. In our experience it’s the missing sudo most of the time.

On Windows instead? The tools are netstat and taskkill: see how to kill the process using a port on Windows.

Frequently asked questions

How do I find which process is using a port on Linux?

Run "sudo lsof -i :8080" and read the PID column: that's the program bound to the port. No lsof on the box? "sudo ss -ltnp | grep :8080" does the same job, and "sudo fuser 8080/tcp" prints just the PID.

What is the difference between kill and kill -9?

Plain kill sends SIGTERM, a polite request to shut down cleanly and free its resources. kill -9 sends SIGKILL, which the process can't catch or ignore: it dies instantly but gets no chance to clean up. We always try SIGTERM first.

Why do I need sudo to kill the process?

Only when the process runs under another user or as root, which many services do. Then you can't see or kill it without elevated rights. A process you started yourself doesn't need sudo.

Is there a one-liner to free a port?

Yes: "sudo fuser -k 8080/tcp" finds and kills whatever holds the port in one command. "sudo kill -9 $(sudo lsof -t -i:8080)" does the same with lsof. Save them for ports where you're sure what's running.

Tags: guidekilllinuxlsofports
Share196Tweet123
stephane

stephane

  • Trending
  • Comments
  • Latest
Answer card stating that Anthropic announced Enterprise Frontier Safeguards on 1 September 2026, that activity data used for misuse monitoring moves into cloud storage the customer controls under the customer own encryption keys, that Anthropic charges nothing for the feature while the cloud provider bills storage and egress, and that the phased rollout starts later in autumn 2026 with interim zero data retention on Fable 5 and Fable 5.1 for eligible customers.

Enterprise Frontier Safeguards: 30 days, in your own cloud

2 September 2026
Answer card: JWTs are not encrypted, anyone can read them; the signature proves who issued the token, not who may read it.

Are JWTs encrypted? No, and the difference will bite you

12 June 2026
Official Google diagram of a client connection in three numbered steps: a DNS lookup with a query and an address, a TLS ClientHello and ServerHello, then a content exchange with a website. A callout on the DNS step reads 25% of global web traffic is now protected by encrypted DNS, and a callout beside an Android phone on the ClientHello step reads Android 17 supports ECH GREASE by default.

Android 17 turns ECH on: what your network still sees

2 September 2026
Answer card: JWTs are not encrypted, anyone can read them; the signature proves who issued the token, not who may read it.

Are JWTs encrypted? No, and the difference will bite you

0
Answer card: a random 8 character password falls in under 2 hours offline, while 16 random characters hold for 1.4 trillion years at the same speed.

How long does it take to crack a password in 2026?

0
Answer card: three DNS records decide if your mail lands or bounces; SPF lists allowed senders, DKIM signs messages, DMARC sets the failure policy.

SPF, DKIM and DMARC explained: the records your email needs

0
Answer card stating that Anthropic announced Enterprise Frontier Safeguards on 1 September 2026, that activity data used for misuse monitoring moves into cloud storage the customer controls under the customer own encryption keys, that Anthropic charges nothing for the feature while the cloud provider bills storage and egress, and that the phased rollout starts later in autumn 2026 with interim zero data retention on Fable 5 and Fable 5.1 for eligible customers.

Enterprise Frontier Safeguards: 30 days, in your own cloud

2 September 2026
Official Google diagram of a client connection in three numbered steps: a DNS lookup with a query and an address, a TLS ClientHello and ServerHello, then a content exchange with a website. A callout on the DNS step reads 25% of global web traffic is now protected by encrypted DNS, and a callout beside an Android phone on the ClientHello step reads Android 17 supports ECH GREASE by default.

Android 17 turns ECH on: what your network still sees

2 September 2026
Still frame from the Claude Fable 5.1 launch video showing model-designed protein binders in orange docked against twelve grey target proteins, rendered as ESMFold2 structure predictions.

Claude Fable 5.1 breaks forced tool use, cuts cache 75%

1 September 2026
PacketNebula

Copyright © 2017 JNews.

Navigate Site

  • About
  • Contact
  • Privacy
  • Legal

Follow Us

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • Home
  • Articles
    • Security
    • Network
    • Dev
    • Sysadmin
    • SEO
    • Email & DNS
  • Tools
    • Network tools: free, fast, no signup
    • Security tools: free, fast, no signup
    • Developer tools: free, fast, no signup
    • Sysadmin tools: free, fast, no signup
    • SEO tools: free, fast, no signup
    • Email & DNS tools: free, fast, no signup
  • Download
  • About

Copyright © 2017 JNews.