How can I find port running Oracle Enterprise Manager I need to connect to the Oracle Enterprise manager of a remote machine. But I dont know the port on which OEM is running on the remote machine. I have access to the machine from terminal though. 

Is there a command to see the port number OEM is running on. The remote machine is CentOS and I need to open the OEM on my local browser (I am running windows 10)

I would really appreciate all the help. I am new to Oracle.
The port configuration is documented in the following file:

$ORACLE_HOME/install/portlist.ini


If Enterprise Manager has been installed then setting off the following command will show the status of the Enterprise Manager:

./emctl status dbconsole


If you are receiving the following message:


./emctl:  not found.



...then you might not have Enterprise Management Console installed.

The Management Console is not required to have a fully functional Oracle RDBMS instance up and running.