I would like to find a command(s) that will allow me to get more information around an open socket connection. Capture open port information, close open ports and restart port without having to reboot.
lsof is useful for obtaining information about a socket, e.g. lsof -i :<portnumber>. You may need to download it from the Porting and Archive Centre. Opening, closing or "restarting" a port usually consists of stopping or starting the process(es) or services that are using that port.
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.