Bobby's Blog

Linux Increase Local Port Range

Increase Local Port Range

Increase Local Port Range

In case your Linux server is opening a lot of of outgoing network connections, you might have to increase local port range. By default range is small.

How To Implement?

Edit the following file:

And add:

Then run:

You can confirm the change by running the following:

How To Revert?

Again edit:

Remove this line:
Then run:
Confirm with:

About the author

Bobby

Linux System Administrator