• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Michele Neylon :: Pensieri

Michele Neylon :: Pensieri

Technology, Marketing, Domains, Thoughts

Checking Which Ports Are Doing What On Linux

March 4, 2011 by Michele Neylon 2 Comments

From time to time it's handy to be able to see exactly which process is using a particular port on a Linux system - especially if you're debugging issues.

This command will let you see exactly what's going on - you simply change the port number:

lsof -i:80

If you need the standard port numbers you can check this list

Related Posts:

  • Switching Off on Holiday
    Switching Off on Holiday
  • Mac Update Frustrations
    Mac Update Frustrations
  • Debugging a Broken Website
    Debugging a Broken Website
  • 2020 Travel Stats
    2020 Travel Stats
  • A Few Resolutions for Lockdown 2.0
    A Few Resolutions for Lockdown 2.0
  • Buying Coffee Online in Ireland
    Buying Coffee Online in Ireland

Filed Under: Linux, Open Source, security, Techie :: Techno ::, Ubuntu

Michele is founder and CEO of Irish hosting provider and domain name registrar Blacknight. Read More…

Reader Interactions

Comments

  1. Robert McKenzie says

    March 6, 2011 at 7:50 pm

    Nice tip.. a good variant to that would be:
    watch lsof -n -i:80
    This will update every 2 seconds (the default for the watch command), I’ve included the “-n” for lsof to disable DNS lookups, it could cause display issues with watch on it’s default update times.
    If you’re not familiar with the “watch” command, check it out, very useful!

  2. Michele Neylon says

    March 6, 2011 at 8:42 pm

    Oh handy – thanks!

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Primary Sidebar

dotblog founder

Most Recent Posts

Getting Back to Outdoor Cooking and Living

Loyalism Explained in the Most Cork Way

Broadband Now Available

Peter Gabriel’s Biko 2021 Version

Time to Grow my Own Ingredients?

Archives

  • Instagram
  • Twitter

Pages

  • About Me
  • About This Site
  • Archives
  • Comments Policy
  • Contact Me
  • Privacy

Blogroll

  • Technology.ie Podcast
  • Blacknight Blog
  • Damien Mulley
  • Grandad
  • Stewart Curry

Footer

Site hosted in Ireland by Blacknight - Content copyright Michele Neylon

Copyright © 2021 · Magazine Pro on Genesis Framework · WordPress · Log in