My Oracle Support Banner

How to Configure NFS Services (server-side) to Run on Static Ports as an Alternative. (Doc ID 1471690.1)

Last updated on DECEMBER 16, 2021

Applies to:

Linux OS - Version Oracle Linux 5.0 and later
Oracle Cloud Infrastructure - Version N/A and later
Information in this document applies to any platform.


By default, some NFS services (server_side) use well-known ports but some normally just use random ports.  The use of random ports does not work so well with strict firewall rules blocking random yet unknown ports.  So, sometimes it is best to manually alter or specify static ports for NFS services (server_side) to use.

This document describes how to configure NFS services (server-side) to run on static ports as an alternative.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 OL5.x & OL6.x
 Examples of configuring /etc/sysconfig/nfs
 Restart the nfs service
 Restart the nfslock service
 Examples of configuring /etc/modprobe.d/lockd.conf
 Examples of configuring /etc/sysconfig/nfs
 Examples of configuring /etc/sysconfig/rpc-rquotad
 Restart the nfs-mountd service
 Restart the nfs-server service
 Restart the rpc-rquotad service
 Restart the rpc-statd service

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.