Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

binding issues

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

  1. baidarkabob

    baidarkabob Well-Known Member

    Joined:
    Jan 12, 2003
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    166
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. vishal

    vishal Well-Known Member

    Joined:
    Jan 28, 2003
    Messages:
    340
    Likes Received:
    0
    Trophy Points:
    166
    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:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice