skip to Main Content

In my debian PC i had a nginx server, but i removed it completely. Now i have permanently :80 port busy.
I ran any kind of command for stop those services, but they execute again.
What can i do for set free 80 port? THX.

nginx      6593            root    6u  IPv4 345904      0t0  TCP *:80 (LISTEN)
nginx      6605 systemd-network    6u  IPv4 345904      0t0  TCP *:80 (LISTEN)

2

Answers


  1. You should be able to simply kill the process.
    kill command syntax

    # kill [signal or option] PID(s)
    

    So in your case,

    kill SIGTERM 6593
    

    You might need to be as root, so prepend with sudo as appropriate

    Login or Signup to reply.
  2. for Linux:

    fuser -k 80/tcp
    

    or,

    kill $(lsof -t -i:80)
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search