Digital Marketing

Find the default port number of a given service in Linux

To find the default port number of a given service in Linux:

$ grep <port> /etc/services

For example, to find the default port of a SSH service, simply run:

$ grep ssh /etc/services

Comments

Popular posts from this blog

Fixed WSL sshd: no hostkeys available -- exiting

PowerMTA pmta command

How to fix: mv: failed to preserve ownership