The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

binding issues

Discussion in 'Bind / DNS / Nameserver Issues' started by baidarkabob, Apr 9, 2003.

  1. baidarkabob

    baidarkabob Well-Known Member

    Joined:
    Jan 12, 2003
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Alaska
    Please help me with a shell command to see a list of ports that are bound on my machine. Also, what is the command to unbind the port?

    Thanks,

    Bob
     
  2. vishal

    vishal Well-Known Member

    Joined:
    Jan 28, 2003
    Messages:
    340
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Check

    Hello,

    To Scan All Ports
    nmap -sT -sU -p 1-65535 localhost

    use lsof to find what is the process running on that port.
    lsof -i proto:port

    to unbind simply stop the service running on that port.

    see chkconfig for more details.

    or use firewall to close the port if at that is open for no use.

    Hope this helps!!!!

    Regards,
    :cool:
     
Loading...

Share This Page