Oracle Error ORA-31112: fail to string for string port using xdb configuration

Oracle Error Message

ORA-31112: fail to string for string port using xdb configuration

Reason for the Error

port number for the defined presentation is not valid

Solution

Either the port number is already in use or it is protected. Specify another port number.