DBCA or NETCA results in "The ... Port "nnnn" is not valid. Specify a valid unused port." while the port is valid and unused (free)
Last updated on APRIL 25, 2018
Applies to:Oracle Net Services - Version 126.96.36.199 and later
Oracle Database Configuration Assistant - Version 188.8.131.52 and later
Information in this document applies to any platform.
When running DBCA or NETCA to create a Listener or endpoint on a specific port, you may find that one of the following (or similar) errors are thrown:
"The <process being managed> Port "nnnn" is not valid. Specify a valid unused port."
"Use another port number: Port "nnnn" provided for this listener is currently in use. Re-enter different information."
However, a check of the port "nnnn" shows the port is free and available for use by software applications at the OS level.
For example, the following returns no values, meaning port 1522 is free and available on this system:
You are possibly creating a new process on a different port that is not the default.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms