You usually open closed ports by starting a piece of software that listens on that port. For example, to open port 22 for SSH you would start the sshd process.
Also some ports can be opened by configuring inetd (or xinetd, depending on OS), see the man page for details.
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.