2

Whe I use the netstat -l command I get the port names, and when I add the -n param I will get the port numbers.

There is a way to set custom names to other ports?

5

Yes. You can add new ports with new descriptions to the /etc/services file, and in fact, can change the name of existing ports (however, I don't know what kind of grief that may cause, if any).

Just be sure to use the same line syntax when adding new ports, and I'd recommend keeping them all in numerical order.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.