1

For shell script which installs a daemon I need to make sure that the newly created daemon user has the rights to use the port range that is needed for a daemon. How can I check this?

user1978011
  • 3,419
  • 25
  • 38

1 Answers1

0

Use netstat /a /n to find the first free port in the dynamic/private ports range: 49152-65535.

boardrider
  • 5,882
  • 7
  • 49
  • 86