Enabling port 4902

Dear all,

I have two machines , Linux 1 and linux 2 ...From one server to another i am trying to telnet port 4902 ....which is not successful.

This port is needed for data transfers for oracle monitoring.

Kinldy can any one suggest how to open this port in linux machine manually...

Rgds
Rj

First, check if anything's even listening on that port with netstat .

On the machine where this port needs to be opened, execute the below commands:

iptables -I INPUT -m state --state NEW -m tcp -p tcp --dport 4902 -j ACCEPT
service iptables save

If you have an external firewall sitting in between these two machines, you have to follow the instructions/manuals for that firewall.

Typically, using telnet you can determine whether a port on remote host is open or blocked by a firewall by the error message it throws.

For example:
Unable to connect to remote host: No route to host => this type of error message is seen in case of a blocked port
Unable to connect to remote host: Connection timed out => this is seen in case of a closed port

1 Like